Skip to content

Commit

Permalink
Fix load data function (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
reluzita authored Feb 29, 2024
1 parent 592d76a commit b922a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aequitas/flow/datasets/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _validate_splits(self) -> None:
def load_data(self) -> None:
"""Load the dataset."""
self.logger.info("Loading data.")
if hasattr(self, "data"):
if self._data is not None:
return
if self.extension == "parquet":
read_method = pd.read_parquet
Expand Down

0 comments on commit b922a4e

Please sign in to comment.