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
En esta página del sitio puede ver el video en línea Python: NumPy Maximum Dimensions! de Duración hora minuto segunda en buena calidad , que subió el usuario __init_ one underscore 06 junio 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 54 veces y le gustó 0 a los espectadores. Disfruta viendo!