... from google.cloud import bigquery, storage from google.cloud.exceptions import NotFound ... class YahooDownload: def __init__(self): self.str_client = storage.Client() self.bq_client = bigquery.Client() ... def upload(self): bucket = str_client.bucket("weekend-hackathon-stock") for _, v in self.download_list.iterrows(): stock_no = v["stock_no"] blob = bucket.blob(f"yahoo-finance-download/{stoc