python del vs pandas drop

后端 未结 4 2226
孤街浪徒
孤街浪徒 2021-02-13 05:45

I know it might be old debate, but out of pandas.drop and python del function which is better in terms of performance over large dataset?

I am

4条回答
  •  灰色年华
    2021-02-13 06:06

    In drop method using "inplace=False" you have option to create Subset DF and keep un-touch the original DF, But in del I believe this option is not available.

提交回复
热议问题