`MulitpleSeries.remove()` should take list instead of just one label at a time
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
Locate MultiSeries.remove() and read its implementation and related tests to see how it currently handles a single label. Add or update tests for removing multiple labels or indices, then check which form the existing API can support consistently. Done means one call removes the requested series and the tests pass.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
Right now, .remove requires only one label at a time. In this case, I was trying to create multiple series from the original object based on a criteria stored in another list. I was trying to compute spectral slopes and encountered a lot of NaNs so wanted to remove these series from the object so I could create a map
Describe the solution you'd like
It would be nice to either pass a list of labels or a list of indices to the function to remove multiple series from the object at a time
Describe alternatives you've considered
Right now, I'm first identifying the labels from the nan indices in a numpy array, getting the labels and then removing them one by one.
Additional context
Would be nice to just past the list of indices in idx_nan.
- Dominant language
- Python
- Stars
- 104
- Forks
- 36
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 5
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LinkedEarth/Pyleoclim_util
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
LinkedEarth/Pyleoclim_util#718 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
LinkedEarth/Pyleoclim_util#717 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
LinkedEarth/Pyleoclim_util#716 ·
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
LinkedEarth/Pyleoclim_util#715 ·
-
Broken doc linkOpendocumentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
LinkedEarth/Pyleoclim_util#704 ·
All issues in LinkedEarth/Pyleoclim_util
Similar issues
-
5-minutes algorithm all-levels any-language beginner-friendly community documentation easy first-timers-only good first issue hacktoberfest help wanted learning no-code-needed open-source python students
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Huerte/algo-solutions-python#281 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/flink-agents#1395 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pybamm-team/PyBaMM#6061 ·
Maintainers usually reply within 2 days
-
A wall-clock ceiling in test_rest_import_off_the_loop turns the gate red on unrelated pull requestsOpenbug help wanted quality
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
pyrite-wiki/pyrite#1550 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
daniel-ospina/tortoise#13049 ·
Maintainers usually reply within 1 day