import numpy as np
# np.arrays
m_int_list = [2, 0, 2, -1, 9, 0]
m_two_list = [[2, 0, 2], [2, -1, 9], [9, 0, 2]]
# attempt to get an array from list, and use function tolist() to get back
np_int_array_from_list = np.array(m_int_list)
print(np_int_array_from_list) # [ 2 7 2 8 9 10]