Learn how to create, update, and delete buckets and contents through Datalab.
- [Narrator] Let's see how we can…create a bucket from DataLab.…Both using the command line, and the SDK.…I will start with the command line.…We use the create option in the gcs command,…to create the bucket.…We specify the full URL of the bucket.…Please do remember that bucket names are global,…within GCP.…So if you try creating a bucket that already exists,…it is going to give an error.…Next, we will use the SDK to do the same.…
We have already imported the SDK into this notebook.…So we proceed to set up an object called…api_bucket, with the name of the bucket we intend to create.…We then call the create function, on the api_bucket object.…We then check if the bucket exists, by calling…the exists function, and that returns a true value.…To check buckets that are created using…both the command lines and SDK,…we execute the list command, it returns…all the buckets in your project.…
Including those that were just created.…Pretty simple, right?…Now, we have two options to create buckets in DataLab.…We can use the command length for simple, straightforward…
Author
Released
11/14/2018- Setting up Cloud DataLlb for exploratory data analytics
- Segmentation and profiling
- Reading and writing data from BigQuery
- Managing cloud storage buckets
- Creating visualizations of BigQuery data with the GCP Charting API
- Managing Datalab instances
Skill Level Intermediate
Duration
Views
Related Courses
-
Predictive Customer Analytics
with Kumaran Ponnambalam1h 37m Intermediate
-
Introduction
-
Why EDA on Datalab?1m 2s
-
Data science modules covered2m 11s
-
-
1. Exploration Options in GCP
-
BigQuery2m 32s
-
Datalab2m 14s
-
Data Studio2m 10s
-
Cloud Dataflow2m 17s
-
-
2. Cloud Datalab Basics
-
What is Datalab?1m 3s
-
Setting up the Cloud SDK3m 11s
-
Setting up Datalab3m 3s
-
Managing Datalab2m 12s
-
Using the exercise files1m 12s
-
-
3. Datalab: BigQuery
-
Setting up BigQuery3m 15s
-
BigQuery commands1m 36s
-
Reading data from BigQuery1m 13s
-
Working with DataFrames1m 29s
-
Writing data to BigQuery1m 30s
-
-
4. Datalab: Cloud Storage
-
Listing bucket contents2m 38s
-
Managing buckets1m 18s
-
Writing to buckets1m 26s
-
-
5. Datalab: Visualizations
-
6. EDA with GCP: Use Case
-
Statistics and correlations1m 37s
-
Segmentation and profiling1m 15s
-
7. Managing Datalab
-
Datalab instance management1m 13s
-
Adding new packages1m 8s
-
Managing source code1m 16s
-
Datalab best practices1m 17s
-
-
Conclusion
-
Next steps42s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Managing buckets