Skip to content

Commit 5ee85e5

Browse files
pbugnionjasongrout
andcommitted
Correct copy to BytesIO
Co-Authored-By: Jason Grout <[email protected]>
1 parent 1c03ba0 commit 5ee85e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/examples/Widget List.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@
10541054
"#=> ]\n",
10551055
"```\n",
10561056
"\n",
1057-
"The contents of the file uploaded are in the value of the `content` key. They are a [memory view](https://docs.python.org/3.8/library/stdtypes.html#memory-views):\n",
1057+
"The contents of the file uploaded are in the value of the `content` key. They are a [memory view](https://docs.python.org/3/library/stdtypes.html#memory-views):\n",
10581058
"\n",
10591059
"```python\n",
10601060
"[uploaded_file] = uploader.value\n",
@@ -1084,7 +1084,7 @@
10841084
" fp.write(uploaded_file[\"content\"])\n",
10851085
"```\n",
10861086
"\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",
1087+
"To convert the uploaded file into a Pandas dataframe, you can use a [BytesIO object](https://docs.python.org/3/library/io.html#binary-i-o):\n",
10881088
"\n",
10891089
"```python\n",
10901090
"import io\n",

0 commit comments

Comments
 (0)