All column values in the selected measure_cols of the dfm DataFrame are real numbers - in fact all are between [-1.0..1.0] inclusive.
Following gives False for all Series/Columns in the dfc dataframe
[print(f"{c}: {dfc[c].hasnans}") for c in dfc.columns]
Results: all False
But all row sums in dfc['shap_sum'] are coming up as NAN's. Why would this be?
dfc['shap_sum'] = dfc[measure_cols].sum(axis=0)
Update The following has the correct results - as seen in the debugger
dfc[measure_cols].sum(axis=0)
But when assigned to a new column in the dataframe they get distorted into NaN's.
Why is this happening ?
dfc['shap_sum'] = dfc[measure_cols].sum(axis=0)

