I am a fan of inplace=True in pandas. But I am wondering what is the preferred way of altering a DataFrame? Which one is faster? Is it better to assign to itself or use inplace?
Asked
Active
Viewed 37 times
0
miller
- 1,636
- 3
- 26
- 55
-
2Read also [this answer](https://stackoverflow.com/a/22533110/1534017) for more information. – Cleb Nov 03 '19 at 16:54
-
2Thanks @Cleb for that link. I wholeheartedly agree with what Jeff says in that answer. – piRSquared Nov 03 '19 at 16:59