asreview.ASReviewData.to_dataframe

ASReviewData.to_dataframe(labels=None, ranking=None)[source]

Create new dataframe with updated label (order).

Parameters
  • labels (list, numpy.ndarray) – Current labels will be overwritten by these labels (including unlabelled). No effect if labels is None.

  • ranking (list) – Reorder the dataframe according to these record_ids. Default ordering if ranking is None.

Returns

pandas.DataFrame – Dataframe of all available record data.