moj-analytical-services / pydbtools

Python version of dbtools
https://moj-analytical-services.github.io/pydbtools/
10 stars 2 forks source link

pandas column-type overwrite #1

Open isichei opened 5 years ago

isichei commented 5 years ago

Allow option to overwrite standard conversion e.g.

{
  "int": "character",
  "long": "character"
}

Should also enable specific column type overwrite:

{
  "col2": "int"
}

☝️ First thinking is to always use agnostic meta data types to make it easier for the user to understand. However there is probably more flexibility in pandas datatypes so maybe there should be the option for both.

isichei commented 4 years ago

This issue will be solved / depreciated by issue #15