evalml.preprocessing.load_data

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

Load features and target from file.

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

  • index (str) – Column for index

  • target (str) – Column for target

  • n_rows (int) – Number of rows to return

  • drop (list) – List of columns to drop

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

Returns

features and target

Return type

pd.DataFrame, pd.Series