fbdf80bd71
- scratchpad/ap.parquet - scratchpad/bq.py - scratchpad/cards.json - scratchpad/citas_recon.csv - scratchpad/dash.txt - scratchpad/diego.parquet - scratchpad/diego_literals.sql - scratchpad/exf/ - scratchpad/va.parquet - scratchpad/vm.parquet Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8 lines
340 B
Python
8 lines
340 B
Python
import google.auth
|
|
from google.cloud import bigquery
|
|
_creds, _ = google.auth.default(scopes=['https://www.googleapis.com/auth/bigquery'])
|
|
_creds = _creds.with_quota_project(None)
|
|
client = bigquery.Client(project='autingo-159109', location='europe-west1', credentials=_creds)
|
|
def q(sql):
|
|
return client.query(sql).result().to_dataframe()
|