create logs for null values againt index pandas 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()