Add support for simple slicing of DataFrames
Open
enhancement
help wanted
topic:dataframe
topic:series
- Dominant language
- Python
- Stars
- 693
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
Add support for:
- `df[:]`
- `df[::]`
- `df[:100]`
- `df[100:]`
- `df[100:200]`
- `df[100:][1:]`
Slicing functionality that should raise a ValueError:
- `df[::2]` (step)
- Probably others?
Contributor guide
Research direction
The issue names no implementation files, tests, or entry points. Locate the DataFrame indexing implementation, then verify the listed slice forms and confirm that step-based slicing such as df[::2] raises ValueError; done means the requested cases behave as specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100