A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/7840 below:

DataFrame to_dict method should also provide orient parameter (like to_json) · Issue #7840 · pandas-dev/pandas · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4