I have lot of dataframes created as part of preprocessing. Since I have limited 6GB ram, I want to delete all the unnecessary dataframes from RAM to avoid running out of mem
This will delete the dataframe and will release the RAM/memory
del [[df_1,df_2]] gc.collect() df_1=pd.DataFrame() df_2=pd.DataFrame()