import numpy as np x = np.matrix([[1,2,3], [7,1,3], [9,4,3]]) y = x.tolist() y --> [[1, 2, 3], [7, 1, 3], [9, 4, 3]]