diff --git a/aif360/sklearn/datasets/meps_datasets.py b/aif360/sklearn/datasets/meps_datasets.py index 12fc5cca..e536f796 100644 --- a/aif360/sklearn/datasets/meps_datasets.py +++ b/aif360/sklearn/datasets/meps_datasets.py @@ -56,7 +56,6 @@ def fetch_meps(panel, *, accept_terms=None, data_home=None, cache=True, raise ValueError("only panels 19, 20, and 21 are currently supported.") fname = 'h192' if panel == 21 else 'h181' - data_url = os.path.join(MEPS_URL, fname + 'ssp.zip') cache_path = os.path.join(data_home or DATA_HOME_DEFAULT, fname + '.csv') if cache and os.path.isfile(cache_path): df = pd.read_csv(cache_path) diff --git a/aif360/sklearn/datasets/openml_datasets.py b/aif360/sklearn/datasets/openml_datasets.py index 0c1c7628..eb447865 100644 --- a/aif360/sklearn/datasets/openml_datasets.py +++ b/aif360/sklearn/datasets/openml_datasets.py @@ -1,7 +1,6 @@ import os import pandas as pd -from pandas.api.types import is_categorical_dtype from sklearn.datasets import fetch_openml from aif360.sklearn.datasets.utils import standardize_dataset