You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/examples/Widget List.ipynb
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1069,7 +1069,7 @@
1069
1069
"#=> b'This is the content of example.txt.\\n'\n",
1070
1070
"```\n",
1071
1071
"\n",
1072
-
"If the file is a text file, you can get the contents as a string by decoding it:\n",
1072
+
"If the file is a text file, you can get the contents as a string by [decoding it](https://docs.python.org/3/library/codecs.html):\n",
1073
1073
"\n",
1074
1074
"```python\n",
1075
1075
"import codecs\n",
@@ -1084,12 +1084,12 @@
1084
1084
" fp.write(uploaded_file[\"content\"])\n",
1085
1085
"```\n",
1086
1086
"\n",
1087
-
"To convert the uploaded file into a Pandas dataframe, you need to convert it to a StringIO object:\n",
1087
+
"To convert the uploaded file into a Pandas dataframe, you need to convert it to a [BytesIO object](https://docs.python.org/3/library/io.html#binary-i-o):\n",
0 commit comments