Pandas concat: ValueError: Shape of passed values is blah, indices imply blah2

前端 未结 7 999
梦如初夏
梦如初夏 2020-11-27 16:41

I\'m trying to merge a (Pandas 14.1) dataframe and a series. The series should form a new column, with some NAs (since the index values of the series are a subset of the ind

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-27 17:13

    I tried Join and Append but none of them worked. I used a 'try: ..., except: continue' around that section of my code and it worked perfectly.

提交回复
热议问题