-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasDtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsIO JSONread_json, to_json, json_normalizeread_json, to_json, json_normalize
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
Metadata
Metadata
Assignees
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasDtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsIO JSONread_json, to_json, json_normalizeread_json, to_json, json_normalize