Skip to content

Commit

Permalink
Merge branch 'main' of github.com:datagouv/terrains-connus
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed Dec 2, 2024
2 parents 55c119e + 30cd3d1 commit e4cab6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/Create stats.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"outputs": [],
"source": [
"import pandas as pd\n",
"import os"
"import os\n",
"import json"
]
},
{
Expand Down Expand Up @@ -428,6 +429,8 @@
"outputs": [],
"source": [
"stats = pd.read_csv('stats.csv',dtype={\"code_geo\": str})\n",
"with open(\"stats.json\", \"w\") as f:\n",
" json.dump(stats.to_dict(orient=\"records\"), f)\n",
"stats"
]
},
Expand Down
1 change: 1 addition & 0 deletions data/stats.json

Large diffs are not rendered by default.

0 comments on commit e4cab6d

Please sign in to comment.