Releases: googleapis/python-bigquery-dataframes
Releases · googleapis/python-bigquery-dataframes
v2.21.0
v2.20.0
2.20.0 (2025-09-16)
Features
- Add
__dataframe__
interchange support (#2063) (3b46a0d) - Add ai_generate_bool to the bigframes.bigquery package (#2060) (70d6562)
- Add bigframes.bigquery.to_json_string (#2076) (41e8f33)
- Add rank(pct=True) support (#2084) (c1e871d)
- Add StreamingDataFrame.to_bigtable and .to_pubsub start_timestamp parameter (#2066) (a63cbae)
- Can call agg with some callables (#2055) (17a1ed9)
- Support astype to json (#2073) (6bd6738)
- Support pandas.Index as key for DataFrame.setitem() (#2062) (b3cf824)
- Support pd.cut() for array-like type (#2064) (21eb213)
- Support to cast struct to json (#2067) (b0ff718)
Bug Fixes
- Deflake ai_gen_bool multimodel test (#2085) (566a37a)
- Do not scroll page selector in anywidget
repr_mode
(#2082) (5ce5d63) - Fix the potential invalid VPC egress configuration (#2068) (cce4966)
- Return a DataFrame containing query stats for all non-SELECT statements (#2071) (a52b913)
- Use the remote and managed functions for bigframes results (#2079) (49b91e8)
Performance Improvements
v2.19.0
v2.18.0
2.18.0 (2025-09-03)
⚠ BREAKING CHANGES
- add
allow_large_results
option toread_gbq_query
, aligning withbpd.options.compute.allow_large_results
option (#1935)
Features
- Add
allow_large_results
option toread_gbq_query
, aligning withbpd.options.compute.allow_large_results
option (#1935) (a7963fe) - Add parameter shuffle for ml.model_selection.train_test_split (#2030) (2c72c56)
- Can pivot unordered, unindexed dataframe (#2040) (1a0f710)
- Local date accessor execution support (#2034) (7ac6fe1)
- Support args in dataframe apply method (#2026) (164c481)
- Support args in series apply method (#2013) (d9d725c)
- Support callable for dataframe mask method (#2020) (9d4504b)
- Support multi-column assignment for DataFrame (#2028) (ba0d23b)
- Support string matching in local executor (#2032) (c0b54f0)
Bug Fixes
- Fix scalar op lowering tree walk (#2029) (935af10)
- Read_csv fails when check file size for wildcard gcs files (#2019) (b0d620b)
- Resolve the validation issue for other arg in dataframe where method (#2042) (8689199)
Performance Improvements
v2.17.0
v2.16.0
2.16.0 (2025-08-20)
Features
- Add
bigframes.pandas.options.display.precision
option (#1979) (15e6175) - Add level, inplace params to reset_index (#1988) (3446950)
- Add ML code samples from dbt blog post (#1978) (ebaa244)
- Add where, coalesce, fillna, casewhen, invert local impl (#1976) (f7f686c)
- Adjust anywidget CSS to prevent overflow (#1981) (204f083)
- Format page number in table widget (#1992) (e83836e)
- Or, And, Xor can execute locally (#1994) (59c52a5)
- Support callable bigframes function for dataframe where (#1990) (44c1ec4)
- Support callable for series where method (#2005) (768b82a)
- When using
repr_mode = "anywidget"
, numeric values align right (15e6175)
Bug Fixes
- Address the packages issue for bigframes function (#1991) (68f1d22)
- Correct pypdf dependency specifier for remote PDF functions (#1980) (0bd5e1b)
- Enable default retries in calls to BQ Storage Read API (#1985) (f25d7bd)
- Fix the copyright year in dbt sample files (#1996) (fad5722)
Performance Improvements
Documentation
v2.15.0
2.15.0 (2025-08-11)
Features
- Add
st_buffer
,st_centroid
, andst_convexhull
and their corresponding GeoSeries methods (#1963) (c4c7fa5) - Add first, last support to GroupBy (#1969) (41dda88)
- Add value_counts to GroupBy classes (#1974) (82175a4)
- Allow callable as a conditional or replacement input in DataFrame.where (#1971) (a8d57d2)
- Can cast locally in hybrid engine (#1944) (d9bc4a5)
- Df.join lsuffix and rsuffix support (#1857) (26515c3)
Bug Fixes
- Add warnings for duplicated or conflicting type hints in bigfram… (#1956) (d38e42c)
- Make
remote_function
more robust when there arecreate_function
retries (#1973) (cd954ac) - Make ExecutionMetrics stats tracking more robust to missing stats (#1977) (feb3ff4)
Performance Improvements
Documentation
v2.14.0
v2.13.0
v2.12.0
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
, andcontainer_memory
forudf
(#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)