From 78a5c3dd3135da60e5444fde5ab1c9e53c25ce25 Mon Sep 17 00:00:00 2001 From: Samuel Hoffman Date: Tue, 23 Nov 2021 20:24:37 -0500 Subject: [PATCH] remove unused lines Signed-off-by: Samuel Hoffman --- aif360/sklearn/datasets/meps_datasets.py | 1 - aif360/sklearn/datasets/openml_datasets.py | 1 - 2 files changed, 2 deletions(-) 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