Add index
param to to_dict
like in to_json
.
#46398
Labels
API - Consistency
Internal Consistency of API/Behavior
Enhancement
IO Data
IO issues that don't fit into a more specific label
df.to_json(orient='split', index=False)
is really nice.df.to_dict(orient='split')
basically does the same thing, but I get a dictionary back instead of a string. For symmetry, I'd liketo_dict
to also have anindex
param, so I can keep from having todel dictionary['index']
to make them really similar.The text was updated successfully, but these errors were encountered: