can not merge DataFrame with instance of type <class 'pandas.core.series.Series'>
要都是 dataframe 才能用 merge , 可以先转换为df可以参考我的例子https://blog.csdn.net/seakingx/article/details/121372515