Contact: aviboots(AT)netvision.net.il
40,758 questions
53,129 answers
573 users
import numpy as np array2D = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) cloned_array = np.copy(array2D) print(cloned_array) ''' run: [[1 2 3] [4 5 6] [7 8 9]] '''