Python: NumPy Maximum Dimensions!
By trial and error, I found the maximum dimensions of a NumPy array.
The maximum is 32 dimensions.
If you make an array of 99 dimensions, numpy.ndim will still return 32 showing 32 dimensions mixed with a list.
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[list([[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[1]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]])]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
32 dimensions!
Also, with an array of anything over 99 dimensions numpy.ndim will return a memory error.
I tested 100 dimensions and 1000 dimensions both gave MemoryError!
#NumPy #maximum #dimensions
On this page of the site you can watch the video online Python: NumPy Maximum Dimensions! with a duration of hours minute second in good quality, which was uploaded by the user __init_ one underscore 06 June 2020, share the link with friends and acquaintances, this video has already been watched 54 times on youtube and it was liked by 0 viewers. Enjoy your viewing!