scikit-hep / ragged

Manipulating ragged arrays in an Array API compliant way.
https://data-apis.org/array-api/latest/API_specification
BSD 3-Clause "New" or "Revised" License
29 stars 6 forks source link

ragged.reshape #24

Open jpivarski opened 8 months ago

jpivarski commented 8 months ago

https://github.com/jpivarski/ragged/blob/1890589635309e2d92998290b0889ec52bcda4ae/src/ragged/_spec_manipulation_functions.py#L179-L204

hmaarrfk commented 4 weeks ago

This would be useful for us where we have more than 1 dimension with "fixed size" and 1 dimension with variable size.

a common shape for us would be:

(9, 6, None)

I don't think it is possible for us to define something of this shape right now.