Releases: googleapis/python-bigquery-pandas
Releases · googleapis/python-bigquery-pandas
v0.17.3
v0.17.2
v0.17.1
v0.17.0
0.17.0 (2022-01-19)
⚠ BREAKING CHANGES
- use nullable Int64 and boolean dtypes if available (#445)
Features
- accepts a table ID, which downloads the table without a query (#443) (bf0e863)
- use nullable Int64 and boolean dtypes if available (#445) (89078f8)
Bug Fixes
read_gbq
supports extreme DATETIME values such as0001-01-01 00:00:00
(#444) (d120f8f)to_gbq
allows strings for DATE and floats for NUMERIC withapi_method="load_parquet"
(#423) (2180836)- allow extreme DATE values such as
datetime.date(1, 1, 1)
inload_gbq
(#442) (e13abaf) - avoid iteritems deprecation in pandas prerelease (#469) (7379cdc)
- use data project for destination in
to_gbq
(#455) (891a00c)
Miscellaneous Chores
v0.16.0
Version 0.15.0
Features
- Load DataFrame with
to_gbq
to a table in a project different from
the API client project. Specify the target table ID as
project.dataset.table
to use this feature. (#321, #347) - Allow billing project to be separate from destination table project
into_gbq
. (#321)
Bug fixes
- Avoid 403 error from
to_gbq
when table haspolicyTags
. (#354) - Avoid
client.dataset
deprecation warnings. (#312)
Dependencies
Version 0.14.1
Version 0.14.0
0.14.0 / 2020-10-05
- Add
dtypes
argument toread_gbq
. Use this argument to override
the defaultdtype
for a particular column in the query results.
For example, this can be used to select nullable integer columns as
theInt64
nullable integer pandas extension type. (#242, #332)
df = pandas_gbq.read_gbq(
"SELECT CAST(NULL AS INT64) AS null_integer",
dtypes={"null_integer": "Int64"},
)
Dependency updates
- Support
google-cloud-bigquery-storage
2.0 and higher. (#329) - Update the minimum version of
pandas
to 0.20.1. (#331)
Internal changes
- Update tests to run against Python 3.8. (#331)