Commit 9927e63f authored by JOSSOUD Olivier's avatar JOSSOUD Olivier
Browse files

QuickViz. Change date format of output file to ISO

parent 2c6ca252
Pipeline #56937 passed with stages
in 1 minute and 24 seconds
......@@ -41,7 +41,7 @@ class Visualizator:
calib_filename = site_id + "_" + picarro_id + "_" + day.strftime("%Y%m%d") + ".csv"
calib_filepath = os.path.join(calib_dir, calib_filename)
df.to_csv(calib_filepath, index=False)
df.to_csv(calib_filepath, index=False, date_format='%Y-%m-%dT%H:%M:%S.%fZ')
def get_data(self, dat_files: list) -> pd.DataFrame:
dateparse = lambda x: pd.datetime.strptime(x, '%Y-%m-%d %H:%M:%S.%f')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment