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
KeyError: "None of [Index(['A'], dtype='object')] are in the [columns]"
I think it is because of the following lines (269-270 of reComBat.py:
if C is not None:
...
C_categorical = C.loc[:,[c for c in X.columns if '_numerical' not in c]]
C_numerical = C.loc[:,[c for c in X.columns if '_numerical' in c]].values
Why the for loop goes over columns of X on design matrix C?
Hello.
I tried the package with X and C options when they have disjoint columns as follows:
and got the following error:
I think it is because of the following lines (269-270 of
reComBat.py
:Why the for loop goes over columns of X on design matrix C?
The package works fine if I go:
Is there a bug here or I am missing something?
Thank you.
The text was updated successfully, but these errors were encountered: