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
RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/opt/conda/lib/python3.10/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "/home/jupyter/.local/lib/python3.10/site-packages/awxriskmodel/scorecardpy_awx/woebin_new.py", line 739, in woebin2
bin_list = woebin2_chimerge(
File "/home/jupyter/.local/lib/python3.10/site-packages/awxriskmodel/scorecardpy_awx/woebin_new.py", line 608, in woebin2_chimerge
binning_chisq = add_chisq(initial_binning)
File "/home/jupyter/.local/lib/python3.10/site-packages/awxriskmodel/scorecardpy_awx/woebin_new.py", line 585, in add_chisq
chisq_df.groupby('brkp', group_keys=False).apply(lambda df: sum(df.a+df.a_lag)).reset_index(name='a_sum'))
TypeError: DataFrame.reset_index() got an unexpected keyword argument 'name'
"""
here is doc for pandas https://github.com/pandas-dev/pandas/blob/v2.2.3/pandas/core/frame.py#L6239-L6483
only have "names" rather than "name" @ShichenXie
The text was updated successfully, but these errors were encountered:
RemoteTraceback:
"""
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/opt/conda/lib/python3.10/multiprocessing/pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "/home/jupyter/.local/lib/python3.10/site-packages/awxriskmodel/scorecardpy_awx/woebin_new.py", line 739, in woebin2
bin_list = woebin2_chimerge(
File "/home/jupyter/.local/lib/python3.10/site-packages/awxriskmodel/scorecardpy_awx/woebin_new.py", line 608, in woebin2_chimerge
binning_chisq = add_chisq(initial_binning)
File "/home/jupyter/.local/lib/python3.10/site-packages/awxriskmodel/scorecardpy_awx/woebin_new.py", line 585, in add_chisq
chisq_df.groupby('brkp', group_keys=False).apply(lambda df: sum(df.a+df.a_lag)).reset_index(name='a_sum'))
TypeError: DataFrame.reset_index() got an unexpected keyword argument 'name'
"""
here is doc for pandas https://github.com/pandas-dev/pandas/blob/v2.2.3/pandas/core/frame.py#L6239-L6483
only have "names" rather than "name"
@ShichenXie
The text was updated successfully, but these errors were encountered: