Releases: googleapis/python-bigquery-dataframes
Releases · googleapis/python-bigquery-dataframes
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)
Documentation
v2.11.0
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
v2.10.0
v2.9.0
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
anddeploy_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
frombpd._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
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
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
v2.6.0
2.6.0 (2025-06-09)
Features
- Add blob.transcribe function (#1773) (86159a7)
- Implement ai.classify() (#1781) (8af26d0)
- Implement item() for Series and Index (#1792) (d2154c8)
- Implement ST_ISCLOSED geography function (#1789) (36bc179)
- Implement ST_LENGTH geography function (#1791) (c5b7fda)
- Support isin with bigframes.pandas.Index arg (#1779) (e480d29)
Bug Fixes
- Address
read_csv
with bothindex_col
anduse_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
v2.5.0
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
inrename
andrename_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 ofbqclient._credentials
(#1784) (6e63eca) - Updated multimodal notebook instructions (#1745) (1df8ca6)
- Use partial ordering mode in the quickstart sample (#1734) (476b7dd)
v2.4.0
2.4.0 (2025-05-12)
Features
- Add "dayofyear" property for
dt
accessors (#1692) (9d4a59d) - Add
.dt.days
,.dt.seconds
,dt.microseconds
, anddt.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
into_gbq()
(#1691) (8ec6079)
Performance Improvements
- Defer query in
read_gbq
with wildcard tables (#1661) (5c125c9) - Rechunk result pages client side (#1680) (67d8760)
Dependencies
Documentation
- Add snippets for Matrix Factorization tutorials (#1630) (24b37ae)
- Deprecate
bpd.options.bigquery.allow_large_results
in favor ofbpd.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)