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
If we paste the code below into the editor, either the web version or the local version:
importmatplotlib.pyplotaspltimportpandasaspdimportiocsv='''ID,group,time,successP1,control,18.6,1P2,control,15.42,1P3,control,25.55,0P4,control,12.56,0P5,control,8.67,1P6,experiment,7.31,0P7,experiment,9.66,0P8,experiment,13.64,1P9,experiment,14.92,1P10,experiment,18.47,1'''# weird error for this line if there is nothing else after this lineb=pd.read_csv(io.StringIO(csv))
you will see some weird exception thrown for the last line. The exception differs between the web and the local versions.
However, if you add one new line after the last line,
b=pd.read_csv(io.StringIO(csv))
# insert new line here
the error disappears.
The text was updated successfully, but these errors were encountered:
If we paste the code below into the editor, either the web version or the local version:
you will see some weird exception thrown for the last line. The exception differs between the web and the local versions.
However, if you add one new line after the last line,
the error disappears.
The text was updated successfully, but these errors were encountered: