Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NumEco Ecologie Gouv
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
Numérique et Écologie
NumEco Ecologie Gouv
Commits
02fa81e4
Commit
02fa81e4
authored
1 year ago
by
CANÉVET Cindy
Browse files
Options
Downloads
Patches
Plain Diff
Correctif pour le graphique des images
parent
8fa6b7d1
Branches
Branches containing commit
No related tags found
1 merge request
!10
Correctif pour le graphique des images
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
analyser_stats/update_stats.py
+1
-1
1 addition, 1 deletion
analyser_stats/update_stats.py
with
1 addition
and
1 deletion
analyser_stats/update_stats.py
+
1
−
1
View file @
02fa81e4
...
...
@@ -226,7 +226,7 @@ GROUP BY politiques_publiques.mesureid""")
def
create_images_stats
(
output_csv
,
db
):
with
open
(
output_csv
,
'
w
'
,
newline
=
''
)
as
csvfile
:
images_writer
=
csv
.
writer
(
csvfile
,
delimiter
=
'
,
'
)
images_writer
.
writerow
([
"
date
"
,
"
type
"
,
"
value
"
])
images_writer
.
writerow
([
"
date
"
,
"
value
"
])
cur
=
db
.
cursor
()
res
=
cur
.
execute
(
"""
select mesures.date,
count(images.url)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment