Skip to content

Commit

Permalink
bq.py updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayal Chand Aichara committed Jun 14, 2019
1 parent 23474bd commit 95556db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ $ cd google-products-with-python
# Replace credentials and database server details with your credentials and database server details in csql.py.
$ python3 csql.py
```

4 changes: 2 additions & 2 deletions bq.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""
This python script uses pandas_gbq python package to extract data
from Google BigQuery as pandas frame .
from Google BigQuery as pandas dataframe .
"""
import pandas_gbq

PROJECT_ID = "Your Project ID"
PROJECT_ID = "Your Project ID" # Replace this with your project ID
database = "bigquery-public-data" # Replace this with your database name
data_set = "ml_datasets" # Replace this with your data set name
data_table = "census_adult_income" # Replace this with your table name
Expand Down

0 comments on commit 95556db

Please sign in to comment.