You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ticks are one example. But the Axis object contains other things like index and name. If we went the immutable route, then the entire Axis object would have to be immutable. At the moment we can't do that since we have to be able to change the index, for example, for slicing.
pandas went the immutable route. One advantage is that the output of a binary operation can return a view of the Axis since axes (Index in pandas) is immutable. That's fast.
But I like to be able to change the ticks in my own use.
Non-fancy indexing of a numpy array returns a view. A view of the data of a datarray is returned:
But a copy of the axes is returned:
Is that what we want?
The text was updated successfully, but these errors were encountered: