2.1. Exercises
Name that Argument!
Using Arguments when Reading in Files
Instructions:
Running a coding exercise for the first time could take a bit of time for everything to load. Be patient, it could take a few minutes.
When you see ____ in a coding exercise, replace it with what you assume to be the correct code. Run it and see if you obtain the desired output. Submit your code to validate if you were correct.
Load in the data using the most suitable arguments.
Tasks:
- Read in the first 100 rows and columns
name,total_bsandtypefrom the filepokemon.csv, which is located in the data directory. - Save the resulting dataframe as
pokemon_sample. - Display
pokemon_sample.