init
This commit is contained in:
commit
1fd8a68383
10 changed files with 1118 additions and 0 deletions
10
count_pandas.py
Normal file
10
count_pandas.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import pandas as pd
|
||||
import s3fs
|
||||
|
||||
s3_endpoint_url = "https://minio.wayl.one" # Use HTTP if MinIO is not using SSL
|
||||
s3_path = "s3://duckdb-playground/hotel_bookings.csv"
|
||||
fs = s3fs.S3FileSystem(client_kwargs={"endpoint_url": s3_endpoint_url})
|
||||
fs.ls("duckdb-playground")
|
||||
df = pd.read_csv(fs.open(s3_path, mode="rb"))
|
||||
|
||||
print(df.shape)
|
||||
Loading…
Add table
Add a link
Reference in a new issue