Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
JOSSOUD Olivier
WIM Collect
Commits
9927e63f
Commit
9927e63f
authored
Jan 21, 2020
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wimcollect/quickviz.py
wimcollect/quickviz.py
+1
-1
No files found.
wimcollect/quickviz.py
View file @
9927e63f
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment