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

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -