docker run -it -p "127.0.0.1:8081:8080" \
-v "/C/Users/<username>/Documents/:/content" \
-e "PROJECT_ID=<PROJECT_ID>" \
gcr.io/cloud-datalab/datalab:local
In [ ]:
import datalab.bigquery as bq
import pandas as pd
In [ ]:
%%sql --module test
SELECT
id, country,
FROM
TABLE
WHERE
조건
GROUP EACH BY
id,
country,
LIMIT
100
In [ ]:
my_data_frame = bq.Query(test).to_dataframe()