Python/pandas equivalent to R's rm() -


df1 = pandas.read_csv('') df2 = df1[['a', 'b']] 

now want remove df1 memory. make not make df2, , make df1 = df1[[]], later import further datasets , append them together, no matter i'll need remove datasets memory.

in r, use rm(df1) , removed memory.

thanks. assume duplicate, nothing popped in search.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -