get the row index of the missing values code example
Example 1: find index of null values pandas
rows_with_nan = [index for index, row in df.iterrows() if row.isnull().any()]
Example 2: get the row index which is null
df[df['A'].isnull()].index.tolist()