-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
API DesignEnhancementError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasReshapingConcat, Merge/Join, Stack/Unstack, ExplodeConcat, Merge/Join, Stack/Unstack, Explode
Milestone
Description
Hello,
it will be nice if to_dict
method could provide same orient
parameter as to_json
.
For example when outtype='split'
we get same results as outtype='series'
.
I also noticed that df.to_dict(outtype='split1234')
is understood as df.to_dict(outtype='series')
which is quite strange but df.to_dict(outtype='a1234')
raises ValueError: outtype a1234 not understood
which is a correct behavior
Kind regards
Femto
Metadata
Metadata
Assignees
Labels
API DesignEnhancementError ReportingIncorrect or improved errors from pandasIncorrect or improved errors from pandasReshapingConcat, Merge/Join, Stack/Unstack, ExplodeConcat, Merge/Join, Stack/Unstack, Explode