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.

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) – List of columns to drop

  • verbose (bool) – If True, prints information about features and labels

Returns

features and labels

Return type

pd.DataFrame, pd.Series