This repository was archived by the owner on Apr 1, 2026. It is now read-only.
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_adaptersoption (#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=Trueinrenameandrename_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.credentialsinstead ofbqclient._credentials(#1784) (6e63eca) - Updated multimodal notebook instructions (#1745) (1df8ca6)
- Use partial ordering mode in the quickstart sample (#1734) (476b7dd)