classmethod foxes.utils.PandasFileHelper.write_file(data, file_path, format_dict={}, **kwargs)[source]

Helper for writing data according to file ending.

Parameters

data: pandas.DataFrame

The data

file_path: str

The path to the file

format_dict: dict

Dictionary with format entries for columns, e.g. ‘{:.4f}’

**kwargs: dict, optional

Parameters forwarded to the pandas writing method.