Screen Shot 2023-12-17 at 4.19.26 PM

png

School

The City College of New York, CUNY *

*We aren’t endorsed by this school

Course

2300

Subject

Industrial Engineering

Date

Jan 9, 2024

Type

png

Pages

1

Uploaded by SuperGullPerson761

Report
Question #2 Select an API of your choice. Make at least 10 requests to this API with different querying values. For example, you could look up the weather information for 10 different cities or the stock price information for 10 different companies. On each request, the APl must return at least 5 pieces of information. E.g. if you are using a weather API, the APl may return the max temperature, min temperature, rainfall amount, humidity, and UV index for each city. Store the values returned for each request in a pandas dataframe. That is, the data frame would have at least 5 columns (one for each category of data provided by the API) and at least 10 rows. Print the descriptive statistics for the data frame. Export the data frame to a CSV file. Submit your code, CSV file, and a one-page report explaining how your analysis would be helpful in solving a related problem. For example, if you choose to use a weather API, you should comment about how the weather information obtained would be helpful to wedding planners, farmers, etc. Note: You may NOT utilize an API covered in the tutorials.
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help