docstr: Load the dataset.
code: def load_data(self) -> None:
      """Load the dataset."""
      self.logger.info("Loading data.")
      if self.extension == "parquet":
          read_method = pd.read_parquet
      elif self.extension == "csv":
          read_method = pd.read_csv
      if len(self.paths) == 1:
          self.data = read_method(self.paths[0])
          if self.split_type == "feature":
              self._validate_splits()
      else:
          train = read_method(self.paths[0])
          validation = read_method(self.paths[1])
          test = read_method(self.paths[2])
          self._indexes = [train.index, validation.index, test.index]
  
          self.data = pd.concat([train, validation, test])
      self.logger.info("Data loaded successfully.")
  
file_path: aequitas/src/aequitas/fairflow/datasets/generic.py
imports: from pathlib import Path
  from typing import Any, Literal, Optional, Union
  import pandas
  from validators import url
  from ..utils import create_logger
  from .dataset import Dataset
label_desc: Use image node_id 3 for calling the GenericDataset obj's underlying member method code with example usage: obj.load_data() without return types