All our Data Science projects include bite-sized activities to test your knowledge and practice in an environment with constant feedback.
All our activities include solutions with explanations on how they work and why we chose them.
The first five columns with all their rows should be displayed to check the result.
You can use .iloc or .loc. This question is extension of the previous question. Play with how to using column indices.
This question is just extention of the above. Play with the row slicing.
Whenever the names of column are given always use df.loc[]
. (Location indexer/Label Indexer)
Whenever the indice are given for rows or columns always go for df.iloc[]. (Integer locator. And be carefull indices start from 0)
This question is just the extention of the previous question. Play with the row indices.
Here you have to incorporate the condition with filtering techniques learned in the previous page.
Note: Use club_name
& nationality_name