intent: Python Pandas: Get index of rows which column matches certain value
rewritten_intent: Create a list containing the indexes of rows where the value of column 'BoolCol' in dataframe `df` are equal to True
snippet: df.iloc[np.flatnonzero(df['BoolCol'])]