Alle Dateien aus dem Pythonkurs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
239 B

import numpy as np
twodim_array = np.array([[1,2,3,4,5],[1,4,9,16,25]],dtype='int32')
print(f'twodim_array={twodim_array}')
print(f'ndim={twodim_array.ndim}')
print(f'dtype={twodim_array.dtype}')
print(f'shape is {twodim_array.shape}')