Skip to content

dfloader

dfloader

Module for abstract dataframe loader

Classes

DfLoader

Bases: ABC

Abstract class DfLoader (Dataframe Loader)

Functions
load_df abstractmethod
load_df(df_path)

Loads and returns the dataframe

Source code in niceml/data/dataloaders/interfaces/dfloader.py
@abstractmethod
def load_df(self, df_path: str) -> pd.DataFrame:
    """Loads and returns the dataframe"""