Type of DataArray.data for 0D different than nD #291
BaptisteC137
started this conversation in
Ideas
Replies: 1 comment
-
yeah, that's been traditionally an issue. However, this has changed on I've been delaying the release for quite a while now because I didn't get any feedback, but I think I should just cut the release now (i.e. sometime this week). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it the expected behavior to have a different type for DataArray.data depending on the dimension of the data ? For the moment if DataArray.data is of dimension 0 is returns a pint.Quantity and otherwise a numpy.array.
Small example:
Could it be a good idea to have a DataArray.pint.values function that always returns a pint.Quantity ?
Beta Was this translation helpful? Give feedback.
All reactions