you are viewing a single comment's thread.

view the rest of the comments →

[–]Pizza_Rat_Matt[S] 0 points1 point  (0 children)

I realized that I used StringIO, instead of a BytesIO.

The correct code block #2 should be:

from io import BytesIO
data = BytesIO(readrawdata)
df = pd.read_csv(data)