dqa.tasks.time_series.PandasDataFrameTask#
- class dqa.tasks.time_series.PandasDataFrameTask(index_name: str | None = None, modify_index: bool = False, **kwargs)#
Abstract base class for a task that works on a pandas DataFrame.
An action is performed by overriding the modify_data_frame() method, which takes the data in a pandas DataFrame as an argument and returns a DataFrame again. Only the data rows given in input_name are taken into that DataFrame.
- Parameters:
index_name (str, default=None) – The content of this data row will be used as the index for the DataFrame.
modify_index (bool, default=False) – Indicates if the result of modifications of the index of the DataFrame should be stored in the dataset.
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_frame
modify_data_row
modify_dataset
modify_dataset_dict
modify_machine
modify_measurement
set_logging_level
transfer_metadata