lincc-frameworks / lincc-frameworks/nested-pandas
Offer nested_frame.to_pyarrow_array(s) method
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 26
- Forks
- 8
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 9
Description
**Feature request**
See
https://github.com/light-curve/light-curve-python?tab=readme-ov-file#nested-pandas
```
import light_curve as lc
import nested_pandas as npd
# removes import pyarrow as pa
...
result = feature.many(ndf["lightcurve"].to_pyarrow_arrays()), n_jobs=-1)
```
**Before submitting**
Please check the following:
- [ ] I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
- [ ] I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
- [ ] If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start with the linked Nested Pandas example and locate the nested_frame API entry point for the requested to_pyarrow_array(s) method. Confirm the expected return shape from the feature.many usage shown in the issue; done means callers can use the nested frame column directly without importing pyarrow.
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
- 45/100