What is the meaning of multidimensional array in python
This article introduces the relevant knowledge of "what is the meaning of multi-dimensional array in python". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
A brief introduction to 0jinnumpy
Numpy is the basic package for high-performance scientific computing and data analysis.
Most of the underlying code is written in C language and runs fast.
Strongly support the vectorized programming style, effectively replace the loop.
There are more data types than python.
The three commonly used objects in numpy are ndarray,matrix and ufunc
In this section, we introduce ndarray multidimensional arrays.
First, ndarray common attributes
Second, array data type
The common data types of array dtype are:
Int:
Int16 ('i2'), int32 (' i4'), int64 ('i8')
Float:
Float16 ('f2'), float32 (' f4'), float64 ('f8')
Str/unicode:
Np.str ('str'), np.unicode (' unicode','U', or'U3 'str''