other changes

This commit is contained in:
David Brazda
2023-11-15 09:02:15 +01:00
parent aead08a2c9
commit dc4c10a4a3
15 changed files with 380 additions and 29 deletions

View File

@ -0,0 +1,14 @@
import numpy as np
from array import array
# Original list
puvodni = array('i', [1, 2, 3, 4])
# Create a NumPy array using the original list
numpied = np.array(puvodni)
# Now, if puvodni changes, numpied will be updated as well
puvodni.append(5)
# Check the updated numpied array
print(numpied)