pd.merge 如何解决?

can not merge DataFrame with instance of type <class 'pandas.core.series.Series'>

要都是 dataframe 才能用 merge , 可以先转换为df
可以参考我的例子
https://blog.csdn.net/seakingx/article/details/121372515