-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvesNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action
Metadata
Metadata
Assignees
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasIndexingRelated to indexing on series/frames, not to indexes themselvesRelated to indexing on series/frames, not to indexes themselvesNeeds DiscussionRequires discussion from core team before further actionRequires discussion from core team before further action
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
jorisvandenbossche commentedon Jan 31, 2020
@jbrockmendel Can you be more clear or specific in the description of the issue? And give some examples of the behaviour you want to deprecate?
For example: do you want to deprecate all slicing in
__getitem__
, or only the slicing with a single string? Because in #31334, you never mentioned it is only about "single string" slicing, while the title here suggest otherwise.Assuming you only mean "partial datetime string slicing with a single string", note that
__getitem__
still does row-based access (normal slicing, boolean masks). So the "getitem is always column-based" is a bit confusing. I suppose you mean: when passing a single, scalar label, it is always column-based.