Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
read_json has convert_dates, keep_default_dates and dtypes that all try to perform dtype conversions on the result from the ujson parser. Conflicts can arise when a column matching the specification of keep_default_dates matches a column specified in dtypes.
The proposal is to deprecate keep_default_dates and convert_dates and only use dtype's current definition of
True: attempt dtype conversion on all column (and refactor to use infer_dtype instead of astype guessing)
False: perform no dtype conversion
dict: dict keys that match column labels will be cast to type in the dict value
read_json
hasconvert_dates
,keep_default_dates
anddtypes
that all try to perform dtype conversions on the result from the ujson parser. Conflicts can arise when a column matching the specification ofkeep_default_dates
matches a column specified indtypes
.The proposal is to deprecate
keep_default_dates
andconvert_dates
and only usedtype
's current definition ofTrue
: attempt dtype conversion on all column (and refactor to useinfer_dtype
instead ofastype
guessing)False
: perform no dtype conversiondict
: dict keys that match column labels will be cast to type in the dict value