Lab Challenge 1

Author

[NAME]

1. Explain what the following libraries’ basic functions are:

a. pandas:

dfdfd

b. wooldridge:

sdf

c. numpy:

dfd

2. Import the three libraries mentioned above to your working environment.

#Insert code here
1 + 3
4

3. Import the ‘traffic1’ pre-made dataset from the wooldridge library.

#Insert code here
1 + 2
3

4. Using the process we learned in class, describe what this data tells us.

#Insert code here
1 + 1
2

5. What is the index number for the row and column associated with Georgia’s traffic death rate in 1985? Display this answer for the user.

#Insert code here
1 + 1
2

6. Interpret the number you just printed in one sentence.

#Insert code here
1 + 1
2

7. Arrange the data by 1985 death rate. Establish that ascending is false. Print a preview of the first 4 observations for the user to look through.

#Insert code here
1 + 1
2

8. Which state had the most deaths per million miles of road in 1985?

#Insert code here
1 + 1
2

9. Create a new dataset that contains only the states with the top 5 most traffic deaths in 1985. Which states are left included in this data? Display a preview of the data as proof.

#Insert code here
1 + 1
2

10. Save this new dataset to a .csv file in your working directory. Remove the indices as you save.

2 * 2
4