Skip to content

Commit

Permalink
deleted blank space pointed out by flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
nabenabe0928 committed Feb 26, 2021
1 parent 8398188 commit edbbb29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoPyTorch/datasets/base_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def __getitem__(self, index: int, train: bool = True) -> Tuple[np.ndarray, ...]:
Returns:
A transformed single point prediction
"""

X = self.train_tensors[0].iloc[[index]] if hasattr(self.train_tensors[0], 'loc') \
else self.train_tensors[0][index]

Expand Down

0 comments on commit edbbb29

Please sign in to comment.