dqa.tasks.transformations.StringToDatetime#

class dqa.tasks.transformations.StringToDatetime(format: str | None = None, timezone: str | None = None, **kwargs)#

Converts time strings into pandas Datetimes.

Each entry of the input needs to be a date/time string in the format specified in format. The result is an array of the same structure containing timestamps.

Parameters:
  • format (str, default=None) – The format of the date/time strings as used in the datetime.strptime() method. If None, the format will be detected automatically by pandas.

  • timezone (str, default=None) – The timezone the date string is given in. If none, then the resulting timestamps are timezone-naive.

Methods

finish()

Can perform actions that are required to clean up after the task has finished, e.g. close network connections etc.

in_out_default

input_output_dataset

input_output_machine

input_output_mode

input_output_name

log

modify_data_row

modify_dataset

modify_dataset_dict

modify_machine

modify_measurement

set_logging_level

transfer_metadata