useful snippets
General Info
Useful Snippets

14.0.8 Delete a dataframe from memory

Example:

def Delete_DF_Release_Memory(DF):
    "Deletes a dataframe and releases it's memory.  If you load to many dataframes at one time in can use up all your memory and cause your pipeline program to crash.  This function addresses that by deleting dataframes from memory."
    del DF
    gc.collect()
    DF=pd.DataFrame()
    return(DF)