changeset 226:1bc73b131257 draft

Uploaded
author luca_milaz
date Sat, 03 Aug 2024 08:54:14 +0000
parents 5a2c9ec9525b
children 14ac8f47c9e0
files marea_2/flux_simulation.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_simulation.py	Sat Aug 03 08:52:25 2024 +0000
+++ b/marea_2/flux_simulation.py	Sat Aug 03 08:54:14 2024 +0000
@@ -108,7 +108,7 @@
 
 
 def write_to_file(dataset: pd.DataFrame, name: str, keep_index:bool=False)->None:
-    dataset.to_csv(ARGS.output_folder + name + ".csv", sep = '\t', index = keep_index)
+    dataset.T.to_csv(ARGS.output_folder + name + ".csv", sep = '\t', index = keep_index)
 
 ############################ dataset input ####################################
 def read_dataset(data :str, name :str) -> pd.DataFrame: