i have a large python list of size "4" but it is 4 large dataframes. I am trying to convert it to an np array of expected 3 dimension and I cannot figure out why I'm getting this error:
data2 = np.asarray(data)
The tail end of 'data' looks like this and you can see there are mixed datatypes:
32133 20210831 2200 882.2 342259.UNITED STATES.WYEAST.RADIATION.csv
32134 20210831 2300 918.9 342259.UNITED STATES.WYEAST.RADIATION.csv
32135 20210901 0 NaN 342259.UNITED STATES.WYEAST.RADIATION.csv
32136 20210901 100 NaN 342259.UNITED STATES.WYEAST.RADIATION.csv]
I'm getting this error and I'm not sure how to set the datatypes for integers, numeric and text found in my list "data".
ValueError: cannot copy sequence with size 32137 to array axis with dimension 4
Thank you for your help,