1

Is there a good overview of the different types of arrays in NumPy? For instance, I gather that there are structured arrays, record arrays (in some places they are used synonymously and in others they are said to be different, esp. since there is a recarray submodule which seems to be different from the usual structured arrays), arrays with records that can be indexed by name (not just the fields), and a DataFrame class on the Python Cookbook site; also masked arrays... Are these completely separate from ndarrays or is there some inheritance connecting them?

1 Answer 1

1

The nearest I've seen to such an overview is this: http://docs.scipy.org/doc/numpy/reference/arrays.classes.html

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks, yes - this is helpful. Unfortunately it mostly lists them rather than discussing when each would be appropriate. But is still helpful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.