# This is a Python bloc
SELECT * FROM `Feature`.`Person`
from google.cloud import bigquery
import pandas as pd
#import credentials
# Construct a BigQuery client object.
bqclient = bigquery.Client.from_service_account_json("/work/wwbq-deepnote-b7dbe0997dd4.json")
# Full path to the new table project.dataset.table_name
table_id = 'wwbq-deepnote.Structure_and_Types.target_bq_datatype'
# Set up a job configuration
job_config = bigquery.LoadJobConfig()
data=df
# Submit the job
job = bqclient.load_table_from_dataframe(data, table_id, job_config=job_config)
# Wait for the job to complete and then show the job results
job.result()
# Read back the properties of the table
table = bqclient.get_table(table_id)
print("Table:", table.table_id, "has", table.num_rows, "rows and", len(table.schema), "columns")