Stack 4 - Week 3 - Practice 001 - CDF to Calculate Probabilities

We will use the human height data set:

Use the normal cumulative distribution function with the mean and standard deviation of female height to calculate the probability that a female's height is:

1. between 55.0 and 56.0 inches

2. is less than 5 feet (60 in)

3. is greater than the mean (hint: do you know this answer intuitively?)

Save your code to your Github repository and submit the link

My Submission

Stack 4 - Week 2 - Practice 002 - Using the Yelp API

For this assignment you will practice with the Yelp API and the concept of pagination.

  • Use your API credentials to access the the Yelp api

  • You can choose the location and search term (food), but it must return more than 20 results so you can practice pagination!

  • Save the businesses as a records-oriented JSON file. (df.to_json(orient='records'))

  • Obtain ONLY the first two pages of results

  • Concatenate the results into one data frame

Here is a sample solution for you to explore.

Stack 4 - Week 2 - Practice 001 - Create and Save your Yelp API Key

While this assignment is optional, you can use the notebook & repository created in this practice assignment as a starting point for your first Core assignment.

  • Follow the instructions from the previous 2 lessons to get your Yelp Fusion API credentials. 

  • Save them locally in a yelp-api.json file located in a ".secret/" folder inside your user folder. 

  • Create a new repository with GitHub desktop. 

  • Load in your API credentials using the JSON module and display what keys are in the dictionary.

    •   DO NOT DISPLAY THE VALUES OF THIS DICTIONARY!!!

  • Save, commit, and push your work to GitHub.