5.3.1.15.1.1.1. cli.cmd_plot.data_handling.csv_handler.CSVHandler
- class cli.cmd_plot.data_handling.csv_handler.CSVHandler(columns: dict[str, str], skip: int, precision: int, na_value: str = 'NULL')
Implementation of the CSVHandler
- __init__(columns: dict[str, str], skip: int, precision: int, na_value: str = 'NULL') None
Creates the CSVHandler object
Methods
__init__(columns, skip, precision[, na_value])Creates the CSVHandler object
get_data(file_path[, no_tmp])Read the given file and returns the contained data.
get_tmp_data(file_path, no_tmp)Return temporary data if available
validate_config(config)Validates the CSVHandler configuration
write_tmp_file(data, file_path)Write a pandas Dataframe as parquet file into the temporary directory