Upload objects
Upload Python objects from Python to an S3 bucket
The following function can be used to upload a Python object from Python to an S3 bucket. This works for any kind of Python object, like sklearn
models, arrays, pandas
dataframes etc.
When calling the function you need to pass
key
- the key ("filepath") you want the object to have in the S3 bucketobj
- the Python object you want to upload to the S3 bucketbucket
- the name of the bucket
Last updated
Was this helpful?