--

Sorry, I copied the code and sent the comment half-finished. What I actually wanted to write (now corrected) is

df1.do_sth(inplace=True)

Your version in the comment (df1 = df1.do_sth()) does basically the same in one line. But anyway, my point was just that there are very good reasons for NOT wanting to create copy after copy of a dataframe.

--

--

Lukas Oldenburg
Lukas Oldenburg

Written by Lukas Oldenburg

Digital Analytics Expert. Owner of dim28.ch. Creator of the Adobe Analytics Component Manager for Google Sheets: https://bit.ly/component-manager

Responses (1)