I have a list of numpy-float arrays, but it prints as
[[array([1 2 3 ...]), array([4 5 6 ...]), ...]
How can I print it to look nicer, something like
[[1 2 3 ...], [4 5 6 ...], ...]
I have a list of numpy-float arrays, but it prints as
[[array([1 2 3 ...]), array([4 5 6 ...]), ...]
How can I print it to look nicer, something like
[[1 2 3 ...], [4 5 6 ...], ...]
You can use tolist()
import numpy as np
temp_list = []
for i in range(10):
temp_list.append(np.zeros([5, 10]))
temp = np.array(temp_list)
temp.tolist()