asreview.io.ExcelWriter.write_data
- classmethod ExcelWriter.write_data(df, fp, labels=None, ranking=None)[source]
Export dataset.
- Parameters:
df (pandas.Dataframe) – Dataframe of all available record data.
fp (str, NoneType) – Filepath or None for buffer.
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 (internal) indices. Default ordering if ranking is None.
- Returns:
Excel file – Dataframe of all available record data.