Using Python functions to work with Cloud Object Storage
To access and work with data that is in IBM Cloud Object Storage, you can use Python functions from a notebook.
IBM Cloud Object Storage is available only in watsonx deployments on IBM Cloud. watsonx deployments on AWS cannot use IBM Cloud Object Storage.
With your IBM Cloud Object Storage credentials, you can access and load data from IBM Cloud Object Storage to use in a notebook. This data can be any object of type file-like-object, for example, byte buffers or string buffers. The data that you upload can reside in a different IBM Cloud Object Storage bucket than the project's bucket.
You can also upload data from a local system into IBM Cloud Object Storage from within a notebook. This data can be a compressed file or Pickle object.
See Working With IBM Cloud Object Storage In Python for more information.
Learn more
- Use ibm-watson-studio-lib for Python to interact with watsonx.ai Studio projects and project assets. The library also contains functions that simplify fetching files from IBM Cloud Object Storage.
- Control access to COS buckets
Parent topic: Loading and accessing data in a notebook