vice.core.dataframe.yield_settings.save_defaults ================================================ Saves the current dataframe settings as the default values. **Signature**: x.save_defaults() Parameters ---------- x : ``yield_settings`` An instance of this class. .. note:: Saving functional yields requires the package dill_, an extension to ``pickle`` in the python standard library. It is recommended that VICE users install dill_ >= 0.2.0. .. _dill: https://pypi.org/project/dill/ Example Code ------------ >>> from vice.yields.ccsne import settings as example >>> example["fe"] = 0.001 >>> example.save_defaults() After re-launching the python interpreter: >>> from vice.yields.ccsne import settings as example >>> example["fe"] 0.001