Exports

class indico.queries.export.GetExport(export_id)

Get information on an Export job

Parameters

export_id (int) – Id of an Export

Returns

Export object

class indico.queries.export.DownloadExport(export_id=None, export=None)

Download an export from an Indico storage url

Parameters
  • export (Export) – Export object

  • export_id (int) – Export id

Returns

Pandas csv of the export

Raises

IndicoRequestError if the Export job is not complete or failed

class indico.queries.export.CreateExport(dataset_id, labelset_id, column_ids=None, model_ids=None, frozen_labelset_ids=None, combine_labels='ALL', file_info=False, anonymous=False, wait=True)

Create an export job for a dataset.

Parameters
  • dataset_id (int) – Dataset to create the export for

  • labelset_id (int) – (int): Labelset column id to export

  • column_ids (List(int)) – Data column ids to export

  • model_ids (List(int)) – Model ids to include predictions from

  • frozen_labelset_ids (Optional[List[int]]) – (List(int)): frozen labelset ids to limit examples by

  • combine_labels (LabelResolutionStrategy) – (LabelResolutionStrategy): One row per example, combine labels from multiple labels into a single row

  • file_info (bool) – (bool): Include datafile information

  • anonymous (bool) – (bool): Anonymize user information

  • wait (bool) – (bool): Wait for the export to complete. Default is True

Returns

Export object