CachedDataFrame#

class mergernet.core.utils.CachedDataFrame[source]#

Bases: object

Holds a cached version of a pandas dataframe in memory for later access

classmethod load(path: str | Path) DataFrame[source]#

Loads a dataframe in memory

Parameters:

path (str or Path) – The path of the dataframe

Returns:

The cached/loaded dataframe

Return type:

pd.DataFrame

_cache = {}#