Now it is your turn to practice using the skills you’ve learned! This practice is very open ended and you are welcome to take it in any direction you would like!
You will have two questions to complete for this homework.
Make your own copy of this Google Colab, and follow the instructions below, you can also copy and paste the problems into a trinket if you feel more comfortable. Then submit it on the google form below.
In this exercise, you will work with real-world weather data using a public API. The provided Python script retrieves hourly temperature and wind data for a given location. Make sure you review the provided code and understand how this API is being called and what all of the code is doing!
Your task is to complete the find_low_wind_periods() function so that it identifies periods of time when the wind is lower. This function will be used to improve the given code by highlighting those periods with low wind speed to visually represent calmer conditions on the graph.
Your output should look similar to this:
Your challenge is to create a Python program that scrapes data from and extracts relevant information .
Create an example some of these skills:
Choose from the following URLs:
Create a function that takes a URL as input, sends an HTTP request
Utilize the requests library for sending HTTP requests.
Parse the HTML content of the page using BeautifulSoup.
Handle the case when the HTTP request is not successful (status code other than 200)
Print out the files contents in a visually appealing way
Before you submit, please make sure that your share settings are set so that anyone with the link is can comment on your notebook! Thank you!!