what is the complimentary method of pd.DataFrame.drop()?

前端 未结 0 1744
花落未央
花落未央 2020-11-29 15:42

This is how I drop rows based on given index_value.

df_new = df.drop(df.index[index_value])

If I want to drop all the rows other

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