dqa.connectors.exporter.CsvExporter#

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

Exports data into CSV files with datasets and machines as folders.

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

  • delimiter (str, default='t') – The delimiter for the CSV format.

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

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