Our next Newcomers' Hour will be held this Thursday, November 16th at 10pm
UTC. Stop by to ask questions, share your progress, celebrate success, or
just to say hi.
To add to the meeting agenda the topics you’d like to discuss, follow the
link: https://hackmd.io/3f3otyyuTte3FU9y3QzsLg?both.
Join
Few things in the Python API care about order, but there are also quite
a few places that will return C-order (and are faster for C-order
inputs) whether you change those defaults or not.
The main issue is that e.g. some cython wrappers will probably assume
that the newly created array is C-order.
Hi,
On Mon, Nov 13, 2023 at 7:41 AM Aaron Meurer wrote:
>
> High level abstractions like .flat or boolean indexing / np.nonzero()
> always use C ordering regardless of the underlying data.
>
> >>> list(np.asarray([[0, 1], [2, 3]]).flat)
> [0, 1, 2, 3]
> >>> list(np.asarray([[0, 1], [2, 3]], order