Skip to content
Snippets Groups Projects
Commit ca670c74 authored by lukas leufen's avatar lukas leufen
Browse files

try to fix the umlaut encoding problem

parent dda93fe3
No related branches found
No related tags found
3 merge requests!90WIP: new release update,!89Resolve "release branch / CI on gpu",!86Resolve "Extract number of examples per data-set per station"
Pipeline #33914 passed
...@@ -102,7 +102,7 @@ class PreProcessing(RunEnvironment): ...@@ -102,7 +102,7 @@ class PreProcessing(RunEnvironment):
column_format[-1] = 'r' column_format[-1] = 'r'
column_format = ''.join(column_format.tolist()) column_format = ''.join(column_format.tolist())
df.to_latex(os.path.join(path, "test.tex"), na_rep='---', column_format=column_format) df.to_latex(os.path.join(path, "test.tex"), na_rep='---', column_format=column_format)
df.to_markdown(open(os.path.join(path, "test.md"), "w"), tablefmt="github") df.to_markdown(open(os.path.join(path, "test.md"), mode="w", encoding='utf-8'), tablefmt="github")
df.drop(meta_data, axis=1).to_latex(os.path.join(path, "test_short.tex"), na_rep='---', column_format=column_format) df.drop(meta_data, axis=1).to_latex(os.path.join(path, "test_short.tex"), na_rep='---', column_format=column_format)
def split_train_val_test(self) -> None: def split_train_val_test(self) -> None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment