-
Notifications
You must be signed in to change notification settings - Fork 271
Open
Description
Due to the different behaviours of integer array indexing between netcdf4-python and numpy, I am missing the ability of indexing dependent axes, in which for example, data[arange(3), arange(3)] returns an array of shape (3,)
This behaviour could be circumvented by using numpy's ravel_multi_index and reshaping a variable to a single dimension. So, is it possible to reshape a variable without copying it ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels