Skip to content

Commit 0da9596

Browse files
authored
correct f-string
1 parent 988fd0f commit 0da9596

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sujet_3_Python.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,16 @@
177177
"metadata": {},
178178
"outputs": [],
179179
"source": [
180-
"with s3.open_input_file(\"{bucket}/{path_data}/description-indiv.csv\") as file:\n",
180+
"with s3.open_input_file(f\"{bucket}/{path_data}/description-indiv.csv\") as file:\n",
181181
" description_indiv = csv.read_csv(file, parse_options=csv.ParseOptions(delimiter=\";\")).to_pandas()\n",
182182
"\n",
183-
"with s3.open_input_file(\"{bucket}/{path_data}/habitudes-indiv.csv\") as file:\n",
183+
"with s3.open_input_file(f\"{bucket}/{path_data}/habitudes-indiv.csv\") as file:\n",
184184
" habitudes_indiv = csv.read_csv(file, parse_options=csv.ParseOptions(delimiter=\";\")).to_pandas()\n",
185185
"\n",
186-
"with s3.open_input_file(\"{bucket}/{path_data}/actphys-sedent.csv\") as file:\n",
186+
"with s3.open_input_file(f\"{bucket}/{path_data}/actphys-sedent.csv\") as file:\n",
187187
" actphys_sedent = csv.read_csv(file, parse_options=csv.ParseOptions(delimiter=\";\")).to_pandas()\n",
188188
"\n",
189-
"with s3.open_input_file(\"{bucket}/{path_data}/fpq.csv\") as file:\n",
189+
"with s3.open_input_file(f\"{bucket}/{path_data}/fpq.csv\") as file:\n",
190190
" fpq = csv.read_csv(file, parse_options=csv.ParseOptions(delimiter=\";\")).to_pandas()\n",
191191
"\n",
192192
"\n",

0 commit comments

Comments
 (0)