Skip to content
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

Support numpy structured arrays #17

Open
shaunc opened this issue Feb 11, 2024 · 1 comment
Open

Support numpy structured arrays #17

shaunc opened this issue Feb 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@shaunc
Copy link

shaunc commented Feb 11, 2024

Currently paths for differences in numpy structured arrays are not readable:

>>> aa = np.zeros(1, dtype=(('a', (np.float32, (2,)))))
>>> bb = np.ones(1, dtype=(('a', (np.float32, (2,)))))
>>> '\n'.join(recursive_diff(aa, bb))
"[data][0]: b'' != b'1'"
@crusaderky crusaderky added the enhancement New feature or request label Feb 12, 2024
@crusaderky crusaderky changed the title feature: support numpy structured arrays Support numpy structured arrays Feb 12, 2024
@crusaderky
Copy link
Owner

Thanks for the suggestion @shaunc. While I don't plan to dedicate time to this feature myself, contributions are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants