dqa.connectors.exporter.PandasDataFrameToFileExporter#

class dqa.connectors.exporter.PandasDataFrameToFileExporter(root_dir: str, path: str = '<Dataset>/<Machine>/<Measurement>.csv', index_name: str | None = None, abs_path: bool = False, **kwargs)#

Abstract base class for an exporter exporting each measurement into a file after converting it into a pandas DataFrame.

Parameters:
  • root_dir (str) – The root directory to place the output files.

  • path (str, default='<Dataset>/<Machine>/<Measurement>.csv') – The layout for the filenames. ‘<Dataset>’, ‘<Machine>’ and ‘<Measurement>’ are replaced accordingly.

  • index (str, default=None) – If specified, then the data row with this name is taken as the index of the DataFrame.

Methods

finish()

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

export_data_frame

export_data_row

export_dataset

export_dataset_dict

export_machine

export_measurement

finish_export

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

start_export

transfer_metadata