This is the code that I have:
[[[3], [4]], [[5], [6]], [[7], [8]]]
How can I change it into:
[[3], [4], [5], [6], [7], [8]]
try this:
import numpy as np a = np.array([[[3],[4]],[[5],[6]],[[7],[8]]]) b = a.reshape(6,1)