You can also use a np.where
method as follows:
import numpy as npempty_status_idx = np.where(df.Status.isnull())[0].tolist()
[0, 2]
You can also use a np.where
method as follows:
import numpy as npempty_status_idx = np.where(df.Status.isnull())[0].tolist()
[0, 2]