E1. First things first, we need to read in the Pokedex. Use thepandas function read_csv to readthe pokedex.csv file into a variable called pokedex.(Don't use df, as doing so could cause confusion later in theassignment.) Don't forget to import pandas.
E2. Call head() to display the first 10 rows of thedata-set
E3. Call tail() to display the last 5 rows of thedata-set
E4. Using slicing notation, select the three Pokemon from rows606 to 608 (inclusive).
E1. First things first, we need to read in the Pokedex. Use the pandas function read_csv to read the pokedex.csv file in
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am