Skip to content

Releases: googleapis/python-bigquery-pandas

v0.17.3

07 Mar 19:02
13010dd
Compare
Choose a tag to compare

0.17.3 (2022-03-05)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#493) (744a71c)
  • deps: require google-auth>=1.25.0 (744a71c)
  • deps: require proto-plus>=1.15.0 (744a71c)

v0.17.2

03 Mar 22:12
ee60b26
Compare
Choose a tag to compare

0.17.2 (2022-03-02)

Dependencies

v0.17.1

24 Feb 16:45
eb87059
Compare
Choose a tag to compare

0.17.1 (2022-02-24)

Bug Fixes

  • avoid TypeError when executing DML statements with read_gbq (#483) (e9f0e3f)

Documentation

  • document additional breaking change in 0.17.0 (#477) (a858c80)

v0.17.0

19 Jan 17:12
d453974
Compare
Choose a tag to compare

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 as 0001-01-01 00:00:00 (#444) (d120f8f)
  • to_gbq allows strings for DATE and floats for NUMERIC with api_method="load_parquet" (#423) (2180836)
  • allow extreme DATE values such as datetime.date(1, 1, 1) in load_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

08 Nov 18:50
6a1592b
Compare
Choose a tag to compare

Features

  • to_gbq uses Parquet by default, use api_method="load_csv" for old behavior (#413) (9a65383)
  • allow Python 3.10 (#417) (faba940)

Miscellaneous Chores

Documentation

Version 0.15.0

30 Mar 16:56
f11212f
Compare
Choose a tag to compare

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
    in to_gbq. (#321)

Bug fixes

  • Avoid 403 error from to_gbq when table has policyTags. (#354)
  • Avoid client.dataset deprecation warnings. (#312)

Dependencies

  • Drop support for Python 3.5 and 3.6. (#337)
  • Drop support for google-cloud-bigquery==2.4.* due to query
    hanging bug. (#343)

Version 0.14.1

10 Nov 17:16
ac2d2fe
Compare
Choose a tag to compare
  • Use object dtype for TIME columns. (#328)
  • Encode floating point values with greater precision. (#326)
  • Support INT64 and other standard SQL aliases in
    pandas_gbq.to_gbq table_schema argument. (#322)

https://pypi.org/project/pandas-gbq/0.14.1/

Version 0.14.0

05 Oct 21:21
0e3e3f0
Compare
Choose a tag to compare

0.14.0 / 2020-10-05

  • Add dtypes argument to read_gbq. Use this argument to override
    the default dtype for a particular column in the query results.
    For example, this can be used to select nullable integer columns as
    the Int64 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)

Version 0.13.3

30 Sep 16:21
a9cd0fc
Compare
Choose a tag to compare
  • Include needed "extras" from google-cloud-bigquery package as
    dependencies. Exclude incompatible 2.0 version. (#324, #329)

PyPI

Version 0.13.1

13 Feb 17:09
e177978
Compare
Choose a tag to compare
  • Fix AttributeError with BQ Storage API to download empty results. (#299)

PyPI