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/46398 below:

Add `index` param to `to_dict` like in `to_json`. · Issue #46398 · pandas-dev/pandas · GitHub

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 like to_dict to also have an index param, so I can keep from having to del dictionary['index'] to make them really similar.


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