Skip to content

Instantly share code, notes, and snippets.

View vcwild's full-sized avatar
📖
Learning is an exercise in humility

Victor Wildner vcwild

📖
Learning is an exercise in humility
View GitHub Profile
@vcwild
vcwild / bq_easy.py
Last active March 22, 2021 15:45 — forked from korakot/bq_easy.py
Using bigquery easily in Google Colab. Focus on a single table.
import re
import pandas as pd
from google.cloud import bigquery
from google.colab import auth
PROJECT_ID = 'sql-hunt' # change to your own project
class BqTable:
def __init__(self, table, dataset='samples', active_project='bigquery-public-data', client=None):