louismartin / email-classification-challenge

Altegard challenge in collaboration w/ Linagora
https://inclass.kaggle.com/c/master-data-science-mva-data-competition-2017
2 stars 1 forks source link

Add save_and_reload_df decorator #4

Closed louismartin closed 7 years ago

louismartin commented 7 years ago

Usage:

@save_and_reload_df
def my_func(args):
    ...
    return df

This will add overwrite=False argument and will save the dataframe that is returned or reload it if it exists.