Initial Commit

This commit is contained in:
2026-03-05 11:11:10 +00:00
commit 0ae48d63f2
16 changed files with 3247 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
{
"cells": [
{
"cell_type": "code",
"source": [
"import pandas as pd\n",
"import csv\n",
"filename = 'Table_Réf_Professionnels_250430'\n",
"df = pd.read_csv(\"H:\\\\Mon Drive\\\\Ziwig Health\\\\Tables de Réf\\\\Professionnels\\\\\"+filename+\".csv\", sep='|', doublequote=False, quoting=csv.QUOTE_NONE,dtype=str, na_values='', keep_default_na=False)\n",
"df.columns"
],
"metadata": {
"collapsed": false,
"jupyter": {
"is_executing": true
}
},
"outputs": [],
"execution_count": null
},
{
"cell_type": "code",
"source": [
"df.shape"
],
"metadata": {
"collapsed": false
},
"outputs": [],
"execution_count": null
},
{
"cell_type": "code",
"source": [
"df_sorted = df.sort_values([\"Identifiant PP\", \"Nom d'exercice\", \"Prénom d'exercice\", 'Libellé profession', 'Libellé savoir-faire', 'Bureau cedex (coord. structure)', 'Numéro Voie (coord. structure)', 'Indice répétition voie (coord. structure)', 'Libellé type de voie (coord. structure)', 'Libellé Voie (coord. structure)' , 'Mention distribution (coord. structure)', 'Téléphone (coord. structure)'])"
],
"metadata": {
"collapsed": false
},
"outputs": [],
"execution_count": null
},
{
"cell_type": "code",
"source": [
"df_sorted.to_csv(\"H:\\\\Mon Drive\\\\Ziwig Health\\\\Tables de Réf\\\\Professionnels\\\\\"+filename+\"-sorted.csv\", sep='|', index=False, doublequote=False, quoting=csv.QUOTE_NONE, lineterminator='\\n')"
],
"metadata": {
"collapsed": false
},
"outputs": [],
"execution_count": null
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.12"
}
},
"nbformat": 4,
"nbformat_minor": 4
}

View File

@@ -0,0 +1,6 @@
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 5
}