sciris.sc_legacy

Legacy methods for handling old pickles (eg Python 2 pickles). Included for backwards compatibility, but not imported into Sciris by default.

Functions

loadobj2or3

Try to load as a (Sciris-saved) Python 3 pickle; if that fails, try to load as a Python 2 pickle.

pickleMethod

unpickleMethod

Classes

legacy_dataframe

This legacy dataframe is maintained solely to allow loading old files.