I am trying to convert the data that I am fetching from BigQuery into pandas dataframe. My code looks like this:
os.environ["GOOGLE_APPLICATION_CREDENTIALS"]="/Users/Me/Documents/credentials/google_creds.json"
# Establish the client
client = bigquery.Client(
query = """select * from bq_project.bq_table"""
df = client.query(query).to_dataframe()
This is the error: TypeError: from_arrays() takes at least 2 positional arguments (1 given)
It errors out on df = client.query(query).to_dataframe() line.