Load module

pyro_risks.pipeline.load.load_dataset(url: Optional[str] = None, path: Optional[str] = None, usecols: Optional[List[str]] = None, pipeline_cols: Optional[List[str]] = None, destination: Optional[str] = None)Tuple[pandas.core.frame.DataFrame, pandas.core.series.Series][source]

Load Pyro Risks training datasets.

Download and load Pyro Risks training datasets.

Parameters
  • url – Training dataset URL. Defaults to None.

  • path – Dataset full path. Defaults to None.

  • usecols – Subset of the dataset columns. Defaults to None.

  • pipeline_cols – Subset of the dataset used for training. Defaults to None.

  • destination – folder where the dataset should be saved. Defaults to None.

Returns

Tuple[pd.DataFrame, pd.Series]