fetch_open_payments#
- skrub.datasets.fetch_open_payments(data_home=None)[source]#
Fetches the open payments dataset (classification), available at skrub-data/skrub-data-files
- Description of the dataset:
Payments given by healthcare manufacturing companies to medical doctors or hospitals. Size on disk: 8.7MB.
- Parameters:
- data_home: str or path, default=None
The directory where to download and unzip the files.
- Returns:
- bunchsklearn.utils.Bunch
A dictionary-like object with the following keys:
open_payments: pd.DataFrame, the dataframe. Shape: (73558, 6)X: pd.DataFrame, features, i.e. the dataframe without the target labels. Shape: (73558, 5)y: pd.DataFrame, target labels. Shape: (73558, 1)metadata: a dictionary containing the name, description, source and target