Pandas Dataframe Boolean to row number

前端 未结 0 466
予麋鹿
予麋鹿 2020-12-30 02:39
import pandas as pd
dataframe = pd.DataFrame(data)
column = (dataframe.select_dtypes(include=[\'integer\'])) >= 2
print(column)

returns a datafra

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