The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all() error in a if statement

前端 未结 0 1286
北恋
北恋 2020-12-16 07:28

I\'m trying to work these comand lines:

for lm_inf in df.columns:
    if df[\'a1\'].astype(\'int64\') > 0 & df[\'b1\'].astype(\'int64\') < 0:
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题