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: '[200161, 200177, 200197, 200208,..., 299962, 299993] not in index'
The error occurred when it called "make_phenotype_label_matrix(phenotypes, stays=None)" because of this line "phenotypes = phenotypes.loc[stays.ICUSTAY_ID.sort_values()]"
line 98, in make_phenotype_label_matrix
phenotypes = phenotypes.loc[stays.ICUSTAY_ID.sort_values()]
Why are so many ICUSTAY_IDs not in the phenotypes? Can I discard these ICUSTAY_IDs?
BTW, the original codes seem not runnable. DataFrame object has no attribute 'ix', I have replaced all the ".ix" to ".loc".
The text was updated successfully, but these errors were encountered:
KeyError: '[200161, 200177, 200197, 200208,..., 299962, 299993] not in index'
The error occurred when it called "make_phenotype_label_matrix(phenotypes, stays=None)" because of this line "phenotypes = phenotypes.loc[stays.ICUSTAY_ID.sort_values()]"
line 98, in make_phenotype_label_matrix
phenotypes = phenotypes.loc[stays.ICUSTAY_ID.sort_values()]
Why are so many ICUSTAY_IDs not in the phenotypes? Can I discard these ICUSTAY_IDs?
BTW, the original codes seem not runnable. DataFrame object has no attribute 'ix', I have replaced all the ".ix" to ".loc".
The text was updated successfully, but these errors were encountered: