每日博客
python
df_xchange = df_xchange.append(pd.Series(row,columns),ignore_index=True)
FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
解决方案——将以上代码修改为:
df_xchange = pd.concat([df_xchange,pd.Series(row,columns)],ignore_index=True)