There are certain operations that I am doing in Python and I would like to know if any of these are charging my company or me money. I will give three examples.
* Using s3fs to read a file
import s3fs
s3 = s3fs.S3FileSystem()
path = "s3://my-bucket/foo/bar.txt"
text = s3.read_text(path)
* Using s3fs to glob for files
import s3fs
s3 = s3fs.S3FileSystem()
bar = "s3://my-bucket/foo/*"
my_paths = s3.glob(bar)
* Reading a file with pandas
import pandas as pd
path = "s3://my-bucket/foo/bar.csv"
my_df = pd.read_csv(path)
Is someone getting charged money when I do any of these three things?
No comments:
Post a Comment
Thanks