Created
February 4, 2022 08:18
-
-
Save konverner/a7bfa6ae6c995fb082d6aa98c7828ac0 to your computer and use it in GitHub Desktop.
where is nan in DataFrame
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nan_idx = [] | |
for i in range(len(df)): | |
if True in list(df.iloc[i].isnull()): | |
nan_idx.append(i) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment