1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to AWS Boto in Python

Exercise

Combine daily requests for February

It's been a month since Sam last ran the report script, and it's time for her to make a new report for February.

She wants to upload new reports for February and update the file listing, expanding on the work she completed during the last video lesson:

Directory listing screenshot

She has already created the boto3 S3 client and stored in the s3 variable. She stored the contents of her objects in request_files.

You will help Sam aggregate the requests from February by downloading files from the gid-requests bucket and concatenating them into one DataFrame!

Instructions

100 XP
  • Load each object from s3.
  • Read it into pandas and append it to df_list.
  • Concatenate all DataFrames in df_list.
  • Preview the DataFrame.