Are nested structarrays valid in numba?

Many thanks for getting back.

Looking at the docs I’m getting some conflicting messages:

The following scalar types and features are not supported:

  • Arbitrary Python objects
  • Half-precision and extended-precision real and complex numbers
  • Nested structured scalars the fields of structured scalars may not contain other structured scalars

[…]

Array types

NumPy arrays of any of the scalar types above are supported, regardless of the shape or layout.

After doing some digging it seems this has been asked before 4 years ago here, but I think it may be worth getting back to this. Seems the structarrays have later been straightened in this PR .

If structarrays are good, I’d be happy to offer a PR to improve the wording of the documentation, as I believe this is a gotcha for many other users.