applied data science capstone coursera week 1 quiz answers

Check Points: Data Collection API

1. Did you Request and parse the SpaceX launch data using the GET request?

  • Yes
  • No

2. Did you filter the dataframe to only include Falcon 9 launches?

  • Yes
  • No

3. Did you relace None values in the PayloadMass with the mean?

  • Yes
  • No

Graded Quiz: Data Collection API with Webscraping

4. After you performed a GET request on the Space X API and convert the response to a dataframe using pd.json_normalize. What year is located in the first row in the column static_fire_date_utc?

2006

5. Using the API, how many Falcon 9 launches are there after we remove Falcon 1 launches?

90

6. At the end of the API data collection process, how many missing values are there for the column landingPad?

26

7. After making a request to the Falcon9 Launch Wiki page and creating a BeautifulSoup object what is the output of:

soup.title

  • < td colspan=”9″ > First flight of Falcon 9 v1.0. < sup class=”reference” id=”cite_ref-sfn20100604_17-0″
  • <table class=”wikitable plainrowheaders collapsible” style=”width: 100%;”>
  • <title> List of Falcon 9 and Falcon Heavy launches – Wikipedia </title>

Check Points: Data Wrangling

8. Did you calculate the number of launches on each site?

  • Yes
  • No

9. Did you calculate the number and occurrence of each orbit?

  • Yes
  • No

10. Did you calculate the number and occurrence of mission outcome per orbit type?

  • Yes
  • No

11. Did you create a landing outcome label from outcome column?

  • Yes
  • No

Graded Quiz: Data Wrangling Quiz

12. How many launches came from CCAFS SLC 40?

55

13. What was the success rate?

  • 80%
  • 67%
  • 40%

14. In the lab you used the method .value_counts() to determine the number and occurrence of each orbit in the column Orbit. What was the value for Orbit with the column name GTO.

27

15. How many landing outcomes in the column landing_outcomes had a value of none

19

Leave a Reply