Erster Schwung für Teil 22
This commit is contained in:
9
teil22/reshape.py
Normal file
9
teil22/reshape.py
Normal 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}')
|
Reference in New Issue
Block a user