Question: Using Jupyter Load: global_emissions.csv Select rows of data by name write a code that includes the following: 1. Both DataFrame and Series objects have an
Using Jupyter Load:
global_emissions.csv
Select rows of data by name write a code that includes the following:
1. Both DataFrame and Series objects have an index attribute which is used to identify their rows.
2. Access rows of data according to this index, using the .loc syntax.
3. Between the brackets, select individual rows:
4. or ranges of dates:
5. or ranges beginning or ending at a specific point:
6. Give these a try and become comfortable selecting index ranges.
7. In addition to selecting by row names, we can select by the row position using the .iloc syntax.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
