Learn how to read objects from Cloud Storage buckets into Datalab structures.
- [Tutor] In this video,…I will show you how to read the contents of an object…from a Cloud Storage bucket into a Python variable.…We can do this using the command line of the SDK.…The command to use in the command line is the read command.…Then you specify the object to read,…including its full Google Cloud Storage URL.…You also specify a variable name,…into which you want this object to be read.…This is a Python variable.…
Once the read is complete,…we can print the type of the variable,…and its contents too.…We can then use other Python capabilities,…to work further on the string object.…We can also read it using the SDK.…We first create a read bucket object,…by specifying the bucket name.…Then using this read bucket object,…we read the object called data/normal ranges.CSV…into the read object.…We then use the read stream from the read object…to read the contents of this file,…into a normal string variable called read text.…
When we print read texts,…it prints the contents of the CSV file.…
- 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
Predictive Customer Analyticswith Kumaran Ponnambalam1h 37m Intermediate
1. Exploration Options in GCP
2. Cloud Datalab Basics
3. Datalab: BigQuery
4. Datalab: Cloud Storage
5. Datalab: Visualizations
6. EDA with GCP: Use Case
7. Managing Datalab
- 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.Cancel
Take 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.