Ask Pandas to delete all rows beneath a certain row

后端 未结 0 504
小蘑菇
小蘑菇 2021-02-01 02:51

I have imported an Excel file as a dataframe using pandas.

I now need to delete all rows from row 41,504 (index 41,505) and below.

I have tried df.drop(df.in

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