Thief of Wealth
https://github.com/facebook/prophet/issues/725

import pickle
pkl_path = "path/to/save/Prophet.pkl"
with open(pkl_path, "wb") as f:
    # Pickle the 'Prophet' model using the highest protocol available.
    pickle.dump(m, f)

# save the dataframe
forecast.to_pickle("path/to/data/forecast.pkl")
print("*** Data Saved ***")

Then to load them again

# read the Prophet model object
with open(pkl_path, 'rb') as f:
    m = pickle.load(f)

fcast = pd.read_pickle("path/to/data/forecast.pkl")


profile on loading

Loading...