dandelion.utilities.read_pkl

dandelion.utilities.read_pkl(filename='dandelion_data.pkl.pbz2')[source]

Read in and returns a Dandelion class saved using pickle format.

Parameters:

filename (str, optional) – path to .pkl file. Depending on the extension, it will try to unzip accordingly.

Returns:

saved Dandelion object in pickle format.

Return type:

Dandelion