import google.datalab.storage as storage
#Create an object for the specific bucket
bucket_object = storage.Bucket('datalab-project-1-239921')
#iterate through the objects and print them
for obj in bucket_object.objects():
print(obj.key)
Wednesday, May 15, 2019
DataEng: GCS: retrieving information from Bucket objects with gcs command and python API
Retrieving information from the bucket can be achieved with either through gcs command line or google lab python API.
Subscribe to:
Post Comments (Atom)
Pandas: SQL Like pandas operations
Pandas's SQL Like operations such as WHERE clause. = != >= str.contains() & | .isin() .isnull() .notnull() ....
-
Example of various merge with default indexes and columns between tables. merge_join ...
-
Continue from Part 1 Taking previous work from Part 1, this will continue to cleansing and transforming the data which include numpy libr...
-
Another option I used to list, shutdown and restore Project to prevent credits from going over the limit quickly. C:\Google\Cloud SDK...
No comments:
Post a Comment