import pandas as pd from google.cloud import storage BUCKET_NAME = 'zhibo-work' # Create a Cloud Storage client to download the data storage_client = storage.Client() # Download the data data_bucket = storage_client.bucket(BUCKET_NAME) blob = data_bucket.blob('description/data_gics.csv') blob.download_to_filename('data_gics.csv')
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter