python - retrieving data from a numpy array and storing in a dataframe -
i have .npy file , store data contains in variable in order convert dataframe.
i tried using following:
data=np.array(numpy.load('jason1data_full_east_west.npy'))
however when test shapes new 1 not match original data.
even question not clear. can try following:
path = .../jason1data_full_east_west.npy data = np.load(path)
and need convert dataframe following:
pd.dataframe({'data':data.tolist()})
Comments
Post a Comment