-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rename DatasetArray
to DataArray
?
#85
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
Comments
+1 I like the name DataArray much more than DatasetArray |
For reference, I got the name "DataArray" from this Wes McKinney blog post: I will add a pull-request with this name change, perhaps along with the It would also be nice to be create to a DataArray(data, x=np.arange(5), y=np.arange(10)) but unfortunately Python doesn't support inferring the order of keyword arguments. Some options (not necessarily mutually exclusive), in descending (ascending) order of their machine (human) friendliness: DataArray(data, [('x', np.arange(5)), ('y', np.arange(10))])
DataArray(data, ['x', 'y'], [np.arange(5), np.arange(10)])
DataArray(data, 'x', np.arange(5), 'y', np.arange(10)) |
Fixed by #73. |
This would make it less ambiguous that this is the preferred way to access and manipulate data in xray.
On a related note, I would like to make
XArray
more of an internal implementation detail that we only expose to advanced users.The text was updated successfully, but these errors were encountered: