SyntaxFix
Write A Post
Hire A Developer
Questions
Suppose gamma1 and gamma2 are two such columns for which df.isnull().any() gives True value , the following code can be used to print the rows.
bool1 = pd.isnull(df['gamma1']) bool2 = pd.isnull(df['gamma2']) df[bool1] df[bool2]