# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3 (ipykernel)
#     language: python
#     name: python3
# ---

import boto3
import pandas as pd
from io import StringIO

s3 = boto3.resource('s3')
bucket = s3.Bucket("deutsche-boerse-xetra-pds")

bucket_obj = bucket.objects.filter(Prefix="2021-03-15")
objects = [obj for obj in bucket_obj]

objects

data_object = bucket.Object(key='<KEY>').get().get('Body').read().decode("utf-8")
data = StringIO(data_object)
df = pd.read_csv(data, delimeter=",")

df.head()



StarcoderdataJupyterScriptsDedupFiltered