Dask + BigQuery intergration
Project description
Dask-BigQuery
Read data from Google BigQuery with Dask
Installation
dask-bigquery
can be installed with pip
:
pip install dask-bigquery
Example
dask-bigquery
assumes that you are already authenticated.
import dask_bigquery
ddf = dask_bigquery.read_gbq(
project_id="your_project_id",
dataset_id="your_dataset",
table_id="your_table",
)
ddf.head()
Run tests locally
To run the tests locally you need to be authenticated and have a project created on that account. If you're using a service account, when created you need to select the role of "BigQuery Admin" in the section "Grant this service account access to project".
You can run the tests with
$ pytest dask_bigquery
if your default gcloud
project is set, or manually specify the project ID with
DASK_BIGQUERY_PROJECT_ID pytest dask_bigquery
History
This project stems from the discussion in this Dask issue and this initial implementation developed by Brett Naul, Jacob Hayes, and Steven Soojin Kim.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dask_bigquery-2021.10.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e561a1d0bd50172cf4106384ec7ea5c96d02267885f243759a6f5ec61e35a191 |
|
MD5 | 263fa3e83cc99f5e6111ed7284d14a82 |
|
BLAKE2b-256 | 4969208c68cbffb84cd7c534bab532bfa9dc0c391c01afbadbb76037408d0042 |