pandas - obscure python error messages -double scalar and rint -
usually python error while not fantastic, show source of error. come across 2 errors after program near complete.
__main__:1278: runtimewarning: invalid value encountered in double_scalars __main__:1278: runtimewarning: invalid value encountered in rint
i have no idea error originate, thought 1278 occurs, simple: -
count=df[(df.outcome==0.5) & (df.returncode==0)].outcome.sum()
which runs without problem , have valid value. bump this?
Comments
Post a Comment