to get index of rows having null values code example Example: get the row index which is null df[df['A'].isnull()].index.tolist()