For now, when you go to the IDE tab, you can solve this problem only via Pycharm. We are sorry for the inconvenience, we will fix this as soon as we can. If you prefer to solve the problem via a different IDE, you should open it manually and then copy the solution to the website.
You are working with a DataFrame called df_rock that contains sonar signals from two object classes: rocks and mines. In the first five columns, you can see the wavelengths that the sonar received from different angles.
Load the given data as a pandas DataFrame, then check how many rows are labeled with "R".
Conditional selection ["R"] may help you here.