evalml.preprocessing.load_data

evalml.preprocessing.load_data(path, index, label, n_rows=None, drop=None, verbose=True, **kwargs)[source]

Load features and labels from file(s).

Parameters
  • path (str) – path to file or a http/ftp/s3 URL

  • index (str) – column for index

  • label (str) – column for labels

  • n_rows (int) – number of rows to return

  • drop (list) – columns to drop

  • verbose (bool) – whether to print information about features and labels

Returns

features and labels

Return type

pd.DataFrame, pd.Series