asreview.state.SQLiteState.get_labeling_times

SQLiteState.get_labeling_times(time_format='int', priors=True, pending=False)[source]

Get the time of labeling from the state.

Parameters:
  • time_format ('int' or 'datetime') – Format of the return value. If it is ‘int’ you get a UTC timestamp, if it is ‘datetime’ you get datetime instead of an integer.

  • priors (bool) – Whether to keep the records containing the prior knowledge.

  • pending (bool) – Whether to keep the records which are pending a labeling decision.

Returns:

pd.Series – If format=’int’ you get a UTC timestamp (integer number of microseconds), if it is ‘datetime’ you get datetime format.