removed code duplicate accidentally introduced by rebasing
@@ -64,10 +64,6 @@ class BaseDataset(Dataset):
def __getitem__(self, index):
X = self.raw[:, index][0]
y = None
- if self.target_name is not None:
- y = self.description[self.target_name]
- X = self.raw[:, index][0]
- y = None
if self.target_name is not None:
y = self.description[self.target_name]
if isinstance(y, pd.Series):
