Pandas Data Types for SQL systems (BigQuery, Spanner) — db-dtypes documentation
As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.
Pandas extension data types for data from SQL systems such as BigQuery.
Installation¶
Install this library in a virtualenv using pip. virtualenv is a tool to create isolated Python environments. The basic problem it addresses is one of dependencies and versions, and indirectly permissions.
With virtualenv, it’s possible to install this library without needing system install permissions, and without clashing with the installed system dependencies.
Supported Python Versions¶
Python >= 3.9
Unsupported Python Versions¶
Python <= 3.8.
Mac/Linux¶
pip install virtualenv virtualenv <your-env> source <your-env>/bin/activate <your-env>/bin/pip install db-dtypes
Windows¶
pip install virtualenv virtualenv <your-env> <your-env>\Scripts\activate <your-env>\Scripts\pip.exe install db-dtypes
How-to Guides¶
API Reference¶
Changelog¶
For a list of all db-dtypes releases:
- Changelog
- 1.5.0 (2025-12-15)
- 1.4.4 (2025-09-08)
- 1.4.3 (2025-05-12)
- 1.4.2 (2025-03-04)
- 1.4.1 (2025-01-30)
- 1.4.0 (2025-01-21)
- 1.3.1 (2024-11-12)
- 1.3.0 (2024-08-08)
- 1.2.0 (2023-12-10)
- 1.1.1 (2023-03-30)
- 1.1.0 (2023-03-29)
- 1.0.5 (2022-12-05)
- 1.0.4 (2022-09-19)
- 1.0.3 (2022-08-05)
- 1.0.2 (2022-06-03)
- 1.0.1 (2022-05-07)
- 1.0.0 (2022-03-25)
- 0.4.0 (2022-03-24)
- 0.3.1 (2021-12-04)
- 0.3.0 (2021-11-08)
- 0.2.0 (2021-10-14)
- 0.1.1 (2021-10-04)
- 0.1.0 (2021-09-29)