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

DataArray is hard to type. darray? #16

Open
kwgoodman opened this issue Jul 27, 2010 · 2 comments
Open

DataArray is hard to type. darray? #16

kwgoodman opened this issue Jul 27, 2010 · 2 comments
Labels

Comments

@kwgoodman
Copy link
Contributor

DataArray is hard to type:

>>> from datarray import DataArray
>>> dar = DataArray([1,2,3])

Can we shorten it? Would darray work?

>>> from datarray import darray
>>> dar = darray([1,2,3])
@WeatherGod
Copy link

You know, numpy does seem to have a pattern of using names that are almost like real names. Masked Arrays are kinda like "mary", and a labeled array is a "larry". Maybe we could get a "darren" or "daryl"?

@terhorst
Copy link
Contributor

How about from datarray import DataArray as darray?

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

No branches or pull requests

3 participants