ooooops
i try to make data small and accurate
xy = pd.read_csv("all.csv",names=['pm2.5','pm10,s02','no2','co','o3','tem','hig_tem','low_tem','rain','qiya','shidu','zuixiaoshidu','fengsu_10min','fengsu','rizuidafengsu','rizhao'])
x_data = xy.iloc[7:16,:2192].values
y_data = xy.iloc[:6,:2192].values

x_data.astype(np.float32)
x_data = Variable(torch.from_numpy(x_data))

result:
RuntimeError: can't convert a given np.ndarray to a tensor - it has an invalid type. The only supported types are: double, float, int64, int32, and uint8.


and i have checked the data …there is no #VALUE