In Pandas, .loc is not returning the specified rows

后端 未结 0 1958
北海茫月
北海茫月 2020-12-08 08:04

I was trying to get the days where Hours < 100 but it wouldn\'t work.

temp_df = temp_df.loc[df[\'Hours\'] < 100]

returns:



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