In this video, I have explained how to extract some desired rows and columns from a DataFrame using df.loc and df.iloc. Also, I have provided some more information to help you tackle different questions.
Code can be found on my GitHub:
https://github.com/SalehGoodarzian/Data-Science-in-Python/tree/c244e8de987a0bab4471d01ae7264361a84f8bfd/Project%209
Download
0 formats
No download links available.
How to access elements in a DataFrame in Python (df.iloc and df.loc) | NatokHD