To use BigQuery with Pandas, you must have the pandas library installed. You can install the BigQuery Python client library with the pandas extra to ensure all necessary dependencies are met.
If you also intend to load data from a DataFrame to a BigQuery table, you must also install pyarrow.
# Install BigQuery client with pandas support
pip install --upgrade 'google-cloud-bigquery[pandas]'
# Install BigQuery client with pandas and pyarrow support (required for loading DataFrames to BigQuery)
pip install --upgrade 'google-cloud-bigquery[pandas,pyarrow]'