v2.40.0 (2026-05-13)
Features
-
Add
bigframes.execution_historyAPI to track BigQuery jobs (#16588) (fa20a740)import bigframes.pandas as bpd bpd.options.compute.enable_execution_history = True df = bpd.read_gbq("my_table") # ... perform operations ... history = bpd.execution_history print(history.jobs) # Access BigQuery job details for executed queries
-
Implement
ai.similarityandai.embedfor text embeddings and semantic similarity (#16771, #16759) (d4afa2c8, fcb4579b)import bigframes.pandas as bpd # Generate embeddings df["embeddings"] = bpd.bigquery.ai.embed(df["text_col"]) # Compute similarity df["similarity"] = bpd.bigquery.ai.similarity(df["embeddings_a"], df["embeddings_b"])
-
Support
hparam_rangeandhparam_candidatesparameters for hyperparameter tuning in model creation (#16640) (ca47835c) -
Update
ai.score,ai.classifyandai.if_parameters to match their SQL equivalents (#16919, #16990, #16857) (9f42fe14, e9c52b12, f3cb4ad0) -
Support unstable sorting in
sort_valuesandsort_index(#16665) (bbdeb70f) -
Support loading Avro and ORC data formats (#16555) (6d46cba3)
-
Add NumPy ufunc support directly on column expressions (#16554) (2f792abd)
Bug Fixes
-
Fix bugs compiling ambiguous ids and in subqueries (#16617) (479e44dd)
-
avoid views when querying BigLake tables from SQL cells (#16562) (fdd3e0de)
-
avoid
copyargument warning into_pandas(#16917) (fe5245b8)