python - Pandas Creating Panel from Multiple DataFrames Buffer Has Wrong Dimesnions -
this continuation of so solution found create dataframes, issue making panel. i'm doing following:
df1 = dataframe(gps_data, index=gps_time, columns=['lat', 'lon', 'error', 'service']) df2 = dataframe(acc_data, index=acc_time, columns=['x', 'y', 'z']) df3 = dataframe(batt_data, index=batt_time, columns=['pct']) p = panel({'gps':df1,'acc':df2,'batt':df3})
which returns next error
valueerror: buffer has wrong number of dimensions (expected 1, got 2)
i'm unsure of why is. df1
[35047 rows x 4 columns]
, df2
[7111 rows x 3 columns]
, , df3
[512 rows x 1 columns]
. help appreciated greatly! close.
python numpy pandas panel dataframes
No comments:
Post a Comment