class_docstr: The Consumer Complaints dataset.
class_docstr_tok: ["The","Consumer","Complaints","dataset","."]
docstr: Loads a file into a dataframe.
docstr_tok: ["Loads","a","file","into","a","dataframe","."]
code: def load_file_to_dataframe(self, file_path: str) -> pd.DataFrame:
      """Loads a file into a dataframe."""
  
      consumer_complaints_df = pd.read_csv(file_path)
      consumer_complaints_df = preprocess_df(consumer_complaints_df)
  
      return consumer_complaints_df
  
imports: import pandas
  from ludwig.datasets.loaders.dataset_loader import DatasetLoader
label_desc: Use image node_id 1 for calling the ConsumerComplaintsLoader obj's underlying member method code with example usage: obj.load_file_to_dataframe(file_path) and returns: consumer_complaints_df