I'm comfused about axis=0 and axis=1

前端 未结 0 605
故里飘歌
故里飘歌 2021-01-20 15:38

the axis=1 below is to find if there\'s any NaN in every row.

df.isnull().any(axis=1)

the axis=1 below is to drop c

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