Skip to content

Infer partition size for FixedSizeList-backed components #9171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
oxkitsune opened this issue Mar 3, 2025 · 0 comments · Fixed by #9210
Closed

Infer partition size for FixedSizeList-backed components #9171

oxkitsune opened this issue Mar 3, 2025 · 0 comments · Fixed by #9210
Assignees
Labels
include in changelog 🪵 Log & send APIs Affects the user-facing API for all languages 🐍 Python API Python logging API

Comments

@oxkitsune
Copy link
Member

This will make it easier to send columns of points, lines and so on.

When trying to do this currently it results in something like this:

ValueError: Expected either a flat array with a length multiple of 3 elements, or an array with shape (`num_elements`, 3). Shape of passed array was (17004, 21, 3).
@oxkitsune oxkitsune added include in changelog 🐍 Python API Python logging API 🪵 Log & send APIs Affects the user-facing API for all languages labels Mar 3, 2025
@oxkitsune oxkitsune self-assigned this Mar 3, 2025
@Wumpf Wumpf closed this as completed in 4ad3e43 Mar 11, 2025
jprochazk pushed a commit that referenced this issue Mar 11, 2025
### Related

Closes #9171

### What

This lets the user do:
```py
rr.send_columns(
  "random_3d_points",
  indexes=[times],
  columns=rr.Points3D.columns(positions=np.random.random((len(times), 21, 3))),
)
```

---------

Co-authored-by: Andreas Reich <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include in changelog 🪵 Log & send APIs Affects the user-facing API for all languages 🐍 Python API Python logging API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant