Array conditional must be same shape as self

前端 未结 1 2055
囚心锁ツ
囚心锁ツ 2021-01-28 01:34

I get this error when I attempt to compare to variable names such as:

compare = Search1.where(Search1UK>Search1DE)
compare
compare.fillna(0)

相关标签:
1条回答
  • 2021-01-28 01:55

    try:

    compare = Search1.where(Search1['Search1UK']>Search1['Search1DE'])
    
    0 讨论(0)
提交回复
热议问题