lincc-frameworks / lincc-frameworks/nested-pandas

Offer nested_frame.to_pyarrow_array(s) method

Open
#452 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.