I have a list of dataframes which looks like shown in image.
The list length is 200 where it has 200 dataframes, each dataframe has length of 205 and has 6 columns.
I want to bring this list in the array of shape (200,205,6)
I tried it doing follwing method but I keep getting the error given below.
np.array(samples).reshape(200,205,6)
For this code I am getting an error:
ValueError: cannot copy sequence with size 205 to array axis with dimension 1
I also removed 5 columns and kept only one column in all datarames but yet am getting same error.
Is there any way to bring it in the required shape..enter image description here