Gestion fichier local - correction erreur fonction os.path

parent 602b9c1d
......@@ -75,7 +75,7 @@
"import os.path\n",
"data_file = \"inciden-PAY-3.csv\"\n",
"folder_path = \"myLocalisation/\"\n",
"if not (os.path(folder_path + data_file)) : \n",
"if not (os.path.exists(folder_path + data_file)) : \n",
" df = pd.read_csv(data_url)\n",
" df.to_csv(folder_path + data_file, sep = '\\t')"
]
......
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