Skip to content

Releases: googleapis/python-bigquery-dataframes

v2.13.0

28 Jul 21:33
03ac660
Compare
Choose a tag to compare

2.13.0 (2025-07-25)

Features

  • _read_gbq_colab creates hybrid session (#1901) (31b17b0)
  • Add CSS styling for TableWidget pagination interface (#1934) (5b232d7)
  • Add row numbering local pushdown in hybrid execution (#1932) (92a2377)
  • Implement Index.get_loc (#1921) (bbbcaf3)

Bug Fixes

  • Add license header and correct issues in dbt sample (#1931) (ab01b0a)

Dependencies

  • Replace google-cloud-iam with grpc-google-iam-v1 (#1864) (e5ff8f7)

v2.12.0

23 Jul 20:02
b47a124
Compare
Choose a tag to compare

2.12.0 (2025-07-23)

Features

  • Add code samples for dbt bigframes integration (#1898) (7e03252)
  • Add isin local execution to hybrid engine (#1915) (c0cefd3)
  • Add ml.metrics.mean_absolute_error method (#1910) (15b8449)
  • Allow local arithmetic execution in hybrid engine (#1906) (ebdcd02)
  • Provide day_of_year and day_of_week for dt accessor (#1911) (40e7638)
  • Support params max_batching_rows, container_cpu, and container_memory for udf (#1897) (8baa912)
  • Support typed pyarrow.Scalar in assignment (#1930) (cd28e12)

Bug Fixes

  • Correct min field from max() to min() in remote function tests (#1917) (d5c54fc)
  • Resolve location reset issue in bigquery options (#1914) (c15cb8a)
  • Series.str.isdigit in unicode superscripts and fractions (#1924) (8d46c36)

Documentation

  • Add code snippets for session and IO public docs (#1919) (6e01cbe)
  • Add snippets for performance optimization doc (#1923) (4da309e)

v2.11.0

15 Jul 14:11
566b5b0
Compare
Choose a tag to compare

2.11.0 (2025-07-15)

Features

  • Add __contains__ to Index, Series, DataFrame (#1899) (07222bf)
  • Add thresh param for Dataframe.dropna (#1885) (1395a50)
  • Add concat pushdown for hybrid engine (#1891) (813624d)
  • Add pagination buttons (prev/next) to anywidget mode for DataFrames (#1841) (8eca767)
  • Add total_rows property to pandas batches iterator (#1888) (e3f5e65)
  • Hybrid engine local join support (#1900) (1aa7950)
  • Support date data type for to_datetime() (#1902) (24050cb)
  • Support bpd.Series(json_data, dtype="json") (#1882) (05cb7d0)

Bug Fixes

  • Bpd.merge on common columns (#1905) (a1fa112)
  • DataFrame string addition respects order (#1894) (52c8233)
  • Show slot_millis_sum warning only when allow_large_results=False (#1892) (25efabc)
  • Used query row count metadata instead of table metadata (#1893) (e1ebc53)

v2.10.0

08 Jul 18:49
f63caf2
Compare
Choose a tag to compare

2.10.0 (2025-07-08)

Features

  • df.to_pandas_batches() returns one empty DataFrame if df is empty (#1878) (e43d15d)
  • Add filter pushdown to hybrid engine (#1871) (6454aff)
  • Add simple stats support to hybrid local pushdown (#1873) (8715105)

Bug Fixes

  • Fix issues where duration type returned as int (#1875) (f30f750)

Documentation

  • Update gsutil commands to gcloud commands (#1876) (c289f70)

v2.9.0

01 Jul 16:23
a4682e9
Compare
Choose a tag to compare

2.9.0 (2025-06-30)

Features

  • Add bpd.read_arrow to convert an Arrow object into a bigframes DataFrame (#1855) (633bf98)
  • Add experimental polars execution (#1747) (daf0c3b)
  • Add size op support in local engine (#1865) (942e66c)
  • Create deploy_remote_function and deploy_udf functions to immediately deploy functions to BigQuery (#1832) (c706759)
  • Support index item assign in Series (#1868) (c5d251a)
  • Support item assignment in series (#1859) (25684ff)
  • Support local execution of comparison ops (#1849) (1c45ccb)

Bug Fixes

  • Fix bug selecting column repeatedly (#1858) (cc339e9)
  • Fix bug with DataFrame.agg for string values (#1870) (81e4d64)
  • Generate GoogleSQL instead of legacy SQL data types for dry_run=True from bpd._read_gbq_colab with local pandas DataFrame (#1867) (fab3c38)
  • Revert dict back to protobuf in the iam binding update (#1838) (9fb3cb4)

Documentation

v2.8.0

23 Jun 18:33
ef4948b
Compare
Choose a tag to compare

2.8.0 (2025-06-23)

⚠ BREAKING CHANGES

  • add required param 'engine' to multimodal functions (#1834)

Features

  • Add bpd.options.compute.maximum_result_rows option to limit client data download (#1829) (e22a3f6)
  • Add bpd.options.display.repr_mode = "anywidget" to create an interactive display of the results (#1820) (be0a3cf)
  • Add DataFrame.ai.forecast() support (#1828) (7bc7f36)
  • Add describe() method to Series (#1827) (a4205f8)
  • Add required param 'engine' to multimodal functions (#1834) (37666e4)

Performance Improvements

Documentation

v2.7.0

16 Jun 22:28
eef158b
Compare
Choose a tag to compare

2.7.0 (2025-06-16)

Features

  • Add bbq.json_query_array and warn bbq.json_extract_array deprecated (#1811) (dc9eb27)
  • Add bbq.json_value_array and deprecate bbq.json_extract_string_array (#1818) (019051e)
  • Add groupby cumcount (#1798) (18f43e8)
  • Support custom build service account in remote_function (#1796) (e586151)

Bug Fixes

  • Correct read_csv behaviours with use_cols, names, index_col (#1804) (855031a)
  • Fix single row broadcast with null index (#1803) (080eb7b)

Documentation

  • Document how to use ai.map() for information extraction (#1808) (b586746)
  • Rearrange README.rst to include a short code sample (#1812) (f6265db)
  • Use pandas API instead of pandas-like or pandas-compatible (#1825) (aa32369)

v2.6.0

09 Jun 20:51
72a021f
Compare
Choose a tag to compare

2.6.0 (2025-06-09)

Features

Bug Fixes

  • Address read_csv with both index_col and use_cols behavior inconsistency with pandas (#1785) (ba7c313)
  • Allow KMeans model init parameter as k-means++ alias (#1790) (0b59cf1)
  • Replace function now can handle bpd.NA value. (#1786) (7269512)

Documentation

  • Adjust strip method examples to match latest pandas (#1797) (817b0c0)
  • Fix docstrings to improve html rendering of code examples (#1788) (38d9b73)

v2.5.0

02 Jun 14:14
e3952e6
Compare
Choose a tag to compare

2.5.0 (2025-05-30)

⚠ BREAKING CHANGES

  • the updated ai.map() parameter list is not backward-compatible

Features

  • Add bpd.options.bigquery.requests_transport_adapters option (#1755) (bb45db8)
  • Add bbq.json_query and warn bbq.json_extract deprecated (#1756) (ec81dd2)
  • Add bpd.options.reset() method (#1743) (36c359d)
  • Add DataFrame.round method (#1742) (3ea6043)
  • Add deferred data uploading (#1720) (1f6442e)
  • Add deprecation warning to Gemini-1.5-X, text-embedding-004, and remove remove legacy models in notebooks and docs (#1723) (80aad9a)
  • Add structured output for ai map, ai filter and ai join (#1746) (133ac6b)
  • Add support for df.loc[list, column(s)] (#1761) (768a757)
  • Include bq schema and query string in dry run results (#1752) (bb51147)
  • Support inplace=True in rename and rename_axis (#1744) (734cc65)
  • Support unique() for Index (#1750) (27fac78)
  • Support astype conversions to and from JSON dtypes (#1716) (8ef4de1)
  • Support dict param for dataframe.agg() (#1772) (f9c29c8)
  • Support dtype parameter in read_csv for bigquery engine (#1749) (50dca4c)
  • Use read api for some peek ops (#1731) (108f4d2)

Bug Fixes

  • Fix clip int series with float bounds (#1739) (d451aef)
  • Fix error with self-merge operations (#1774) (e5fe143)
  • Fix the default value for na_value for numpy conversions (#1766) (0629cac)
  • Include location in Session-based temporary storage manager DDL queries (#1780) (acba032)
  • Prevent creating unnecessary client objects in multithreaded environments (#1757) (1cf9f5e)
  • Reduce bigquery table modification via DML for to_gbq (#1737) (545cdca)
  • Stop ignoring arguments to MatrixFactorization.score(X, y) (#1726) (55c07e9)
  • Support JSON and STRUCT for bbq.sql_scalar (#1754) (190390b)
  • Support str.replace re.compile with flags (#1736) (f8d2cd2)

Performance Improvements

  • Faster local data comparison using idenitity (#1738) (2858b1e)
  • Optimize repr for unordered gbq table (#1778) (2bc4fbc)
  • Use JOB_CREATION_OPTIONAL when allow_large_results=False (#1763) (15f3f2a)

Dependencies

Documentation

  • Add llm output_schema notebook (#1732) (b2261cc)
  • Add MatrixFactorization to the table of contents (#1725) (611e43b)
  • Fix typo for "population" in the GeminiTextGenerator.predict(..., output_schema={...}) sample notebook (#1748) (bd07e05)
  • Integrations notebook extracts token from bqclient._http.credentials instead of bqclient._credentials (#1784) (6e63eca)
  • Updated multimodal notebook instructions (#1745) (1df8ca6)
  • Use partial ordering mode in the quickstart sample (#1734) (476b7dd)

v2.4.0

12 May 21:59
7961681
Compare
Choose a tag to compare

2.4.0 (2025-05-12)

Features

  • Add "dayofyear" property for dt accessors (#1692) (9d4a59d)
  • Add .dt.days, .dt.seconds, dt.microseconds, and dt.total_seconds() for timedelta series. (#1713) (2b3a45f)
  • Add DatetimeIndex class (#1719) (c3c830c)
  • Add isocalendar() for dt accessor" (#1717) (0479763)
  • Add bigframes.bigquery.json_value (#1697) (46a9c53)
  • Add blob.exif function support (#1703) (3f79528)
  • Add inplace arg support to sort methods (#1710) (d1ccb52)
  • Improve error message in Series.apply for direct udfs (#1673) (1a658b2)
  • Publish bigframes blob(Multimodal) to preview (#1693) (e4c85ba)
  • Support () operator between timedeltas (#1702) (edaac89)
  • Support forecast_limit_lower_bound and forecast_limit_upper_bound in ARIMA_PLUS (and ARIMA_PLUS_XREG) models (#1305) (b16740e)
  • Support to_strip parameter for str.strip, str.lstrip and str.rstrip (#1705) (a84ee75)

Bug Fixes

  • Fix dayofyear doc test (#1701) (9b777a0)
  • Fix issues with chunked arrow data (#1700) (e3289b7)
  • Rename columns with protected names such as _TABLE_SUFFIX in to_gbq() (#1691) (8ec6079)

Performance Improvements

Dependencies

Documentation

  • Add snippets for Matrix Factorization tutorials (#1630) (24b37ae)
  • Deprecate bpd.options.bigquery.allow_large_results in favor of bpd.options.compute.allow_large_results (#1597) (18780b4)
  • Include import statement in the bigframes code snippet (#1699) (08d70b6)
  • Include the clean-up step in the udf code snippet (#1698) (48992e2)
  • Move multimodal notebook out of experimental folder (#1712) (68b6532)
  • Update blob_display option in snippets (#1714) (8b30143)