elastic / elastic/eland

Add support for simple slicing of DataFrames

Open
#309 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.