Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np array to list

# make np array 
np_arr = np.array(['a','b','c'])
# np array to list
py_list = np_arr.tolist()
print(py_list)
# output: ['a','b','c']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #np #array #list
ADD COMMENT
Topic
Name
9+7 =