-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
EnhancementIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselves
Description
- Idea: use df.index/df.columns names to automatically choose axis along which to broadcast #13243 use df.index/df.columns names to automatically choose axis along which to broadcast
- Request for some kind of named arguments loc #11373 Request for some kind of named arguments loc
- Partial Selection on MultiIndex: The need for empty slice support & dict indexing #4036 Partial Selection on MultiIndex: The need for empty slice support & dict indexing
What if we allowed the index of a dataframe to be referred to in the usual ways?
data = pd.read_table("...", index_col="id")
data.id # breaks
data["id"] # breaks
I find myself setting and resetting indices very often to join to a different dataframe or to pull in the values of the index to a subselection of the dataframe, etc. I figure this is because of how the data is stored under the hood, but wouldn't this be convenient?
wmayner, ThibTrip, schlich, matthewrsilver, grisaitis and 5 more
Metadata
Metadata
Assignees
Labels
EnhancementIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselves