df.index[ df.one.isnull( ) ][ 0 ]
gives the index of the first row, which has null
in column "one"
the more efficient way to find the first row would be to define a generator, and take the first element of that generator, like:
gen = ( idx for idx in df.index if np.isnan( df.one[ idx ] ) )
now gen.__next__()
will be the first index.