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

Index StringMethods should return MultiIndex when result dimension is more than one · Issue #10008 · pandas-dev/pandas · GitHub

Skip to content Navigation Menu

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Additional navigation options

ENH: Index StringMethods should return MultiIndex when result dimension is more than one #10008

Description

Currently the Index.str methods only support returning Index results. However, analogous to the expansion from Series.str.* -> DataFrame, we should be able to do Index.str.* -> MultiIndex in certain cases, as discussed in #9870 (comment)

Some of the string methods that can support this are: str.get_dummies, str.extract, str.split

Here are the related PRs: #9667, #9843, #9870, #9985

You can’t perform that action at this time.


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