Erster Schwung für Teil 22

This commit is contained in:
2024-01-02 06:46:01 +01:00
parent ec60c85695
commit 0882dd06f3
9 changed files with 124 additions and 0 deletions

9
teil22/reshape.py Normal file
View File

@@ -0,0 +1,9 @@
import numpy as np
a = np.array([1,2,3,4,5,6,7,8,9,10])
print(f'orignal {a}')
reshaped = a.reshape(2,5)
print(f'reshaped {reshaped}')