I'm trying to create a Bigquery table using Python API.
from google.cloud import bigquery
bigquery_client = bigquery.Client(project="myproject")
dataset = bigquery_client.dataset("mydataset")
table = dataset.table("mytable")
table.create()
I keep getting this error
AttributeError: 'TableReference' object has no attribute 'create'
Does anyone have any idea?