dataframe.all() returning True when condition not met

前端 未结 0 765
迷失自我
迷失自我 2021-01-30 04:50

I have a dataframe:

I only want rows with values less than 6 for example.

I enter:

dists_df.all(axis=1) < 6

and I get Tr

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