foxes.output.Output.write(file_name, data, format_col2var={}, format_dict={}, **kwargs)[source]

Writes data to file via pandas.

The kwargs are forwarded to the underlying pandas writing function.

Parameters

file_name: str

The output file name

data: pandas.DataFrame

The data

format_col2var: dict

Mapping from column names to foxes variables, for formatting

format_dict: dict

Dictionary with format entries for columns, e.g. {FV.P: ‘{:.4f}’}. Note that the keys are foxes variables