Open
Description
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 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