-
Notifications
You must be signed in to change notification settings - Fork 3
python numpy
ghdrako edited this page Dec 2, 2023
·
4 revisions
is a multidimensional, homogeneous array with a predetermined number of items. All the items in it are of the same type and the same size. Data type is specified by another NumPy object called dtype
The number of the dimensions and items in an array is defined by its shape, a tuple of N-positive integers that specifies the size for each dimension. The dimensions are defined as axes and the number of axes as rank.
NumPy arrays is that their size is fixed, that is, once you define their size at the time of creation, it remains unchanged.
array()
function, in addition to lists, can accept tuples and sequences of tuples.
It can also accept sequences of tuples and interconnected lists.
Test