Closed rlisahuang closed 1 year ago
I was able to replicate it with this minimal example:
import pandas as pd
df = pd.DataFrame(['x'],None,['y'])
for i, group in df.groupby('y'):
z = i + 1
I couldn't replicate it if I replaced df.groupby
with a local function or method call though, so it seems to be related to pandas, or at least to calling methods in a different module?
See d379b04d14f788607b2f5f22cf7df262abd43e47 for fix.
To replicate:
The stderr does show up in the output panel. However, in PB, it shows:
Could be replicated both locally and on the web version.