This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Releases: googleapis/python-bigquery-dataframes
Releases · googleapis/python-bigquery-dataframes
v0.22.0
0.22.0 (2024-02-27)
⚠ BREAKING CHANGES
- rename cosine_similarity to paired_cosine_distances (#393)
- move model optional args to kwargs (#381)
Features
- Add
DataFrames.corr()method (#379) (67fd434) - Add ml.metrics.pairwise.manhattan_distance (#392) (9d31865)
- Enable regional endpoints for me-central2 (#386) (469674d)
Bug Fixes
- Avoid ibis warning for "database" table() method argument (#390) (a0490a4)
- Correct the numeric literal dtype (#365) (93b02cd)
- Rename cosine_similarity to paired_cosine_distances (#393) (81ece46)
Performance Improvements
Dependencies
Documentation
- Add a code sample for creating a kmeans model (#267) (4291d65)
- Fix
bigframes.pandas.concatdocumentation (#382) (234b61c)
Miscellaneous Chores
Code Refactoring
v0.21.0
0.21.0 (2024-02-13)
Features
- Add
Series.covmethod (#368) (443db22) - Add ml.llm.GeminiTextGenerator model (#370) (de1e0a4)
- Add ml.metrics.pairwise.cosine_similarity function (#374) (126f566)
- Add XGBoostModel (#363) (d5518b2)
- Limited support of lambdas in
Series.apply(#345) (208e081) - Support bigframes.pandas.to_datetime for scalars, iterables and series. (#372) (ffb0d15)
- Support read_gbq wildcard table path (#377) (90caf86)
Bug Fixes
Documentation
v0.20.1
v0.20.0
0.20.0 (2024-01-30)
Features
- Add
DataFrame.peek()as an efficient alternative tohead()results preview (#318) (9c34d83) - Add ARIMA_EVAULATE options in forecasting models (#336) (73e997b)
- Add Index constructor, repr, copy, get_level_values, to_series (#334) (e5d054e)
- Improve error message for drive based BQ table reads (#344) (0794788)
- Update cut to work without labels = False and show intervals as dict (#335) (4ff53db)
Bug Fixes
- Chance default connection name in getting_started.ipnyb (#347) (677f014)
- Series iteration correctly returns values instead of index (#339) (2c6af9b)
Documentation
v0.19.2
v0.19.1
v0.19.0
0.19.0 (2024-01-09)
Features
- Add 'columns' as an alias for 'col_order' (#298) (a01b271)
- Add Series dt.tz and dt.unit properties (#303) (2e1a403)
- Add to_gbq() method for LLM models (#299) (dafbc1b)
- Allow manually set clustering_columns in dataframe.to_gbq (#302) (9c21323)
- Support assigning to columns like a property (#304) (f645c56)
- Support upcasting numeric columns in concat (#294) (e3a056a)
Bug Fixes
- DF.drop tuple input as multi-index (#301) (21391a9)
- Fix bug converting non-string labels to sql ids (#296) (a61c5fe)
Documentation
v0.18.0
0.18.0 (2024-01-02)
Features
- Add
dataframe.to_html(#259) (2cd6489) - Add
IntervalIndexsupport tobigframes.pandas.cut(#254) (6c1969a) - Add
replacemethod to DataFrame (#261) (5092215) - Specific pyarrow mappings for decimal, bytes types (#283) (a1c0631)
Bug Fixes
Dataframes.to_gbqnow creates dataset if it doesn't exist (#222) (bac62f7)- Exclude pandas 2.2.0rc0 to unblock prerelease tests (#292) (ac1a745)
- Fix
DataFrameGroupby.agg()issue with as_index=False (#273) (ab49350) - Make
Series.str.replacework for simple strings (#285) (ad67465) - Update
dataframe.to_gbqto dedup column names. (#286) (746115d) - Use setuptools.find_namespace_packages (#246) (9ec352a)
Dependencies
Documentation
- Add code snippets for explore query result page (#278) (7cbbb7d)
- Code samples for
astypecommon to DataFrame and Series (#280) (95b673a) - Code samples for
DataFrame.copyandSeries.copy(#290) (7cbc2b0) - Code samples for
dropandfillna(#284) (9c5012e) - Code samples for
isna,isnull,dropna,isin(#289) (ad51035) - Code samples for
rename,size(#293) (eb69f60) - Code samples for
reset_indexandsort_values(#282) (acc0eb7) - Code samples for
sample,get,Series.round(#295) (c2b1892) - Code samples for
Series.{add, replace, unique, T, transpose}(#287) (0e1bbfc) - Code samples for
Series.{map, to_list, count}(#290) (7cbc2b0) - Code samples for
Series.{name, std, agg}(#293) (eb69f60) - Code samples for
Series.groupbyandSeries.{sum,mean,min,max}(#280) (95b673a) - Code samples for DataFrame
set_index,items(#295) (c2b1892) - Fix the rendering for
get_dummies(#291) (252f3a2)
v0.17.0
0.17.0 (2023-12-14)
Features
- Add
filtersargument toread_gbqfor enhanced data querying (#198) (034f71f) - Add module/class level api tracking (#272) (4f3db3d)
- Deprecate
use_regional_endpoints(#199) (319a1f2)
Bug Fixes
- Increase recursion limit, cache compilation tree hashes (#184) (b54791c)
- Replaced raise
NotImplementedErrorwith returnNotImplemented(#258) (a133822)
Documentation
v0.16.0
0.16.0 (2023-12-12)
Features
- Add ARIMAPlus.predict parameters (#264) (99598c7)
- Add DataFrame from_dict and from_records methods (#244) (8d81e24)
- Add DataFrame.select_dtypes method (#242) (1737acc)
- Add nunique method to Series/DataFrameGroupby (#256) (c8ec245)
- Support dataframe.loc with conditional columns selection (#233) (3febea9)
Bug Fixes
- Enfore pandas version requirement <2.1.4 (#265) (9dd63f6)
- Exclude pandas 2.1.4 from prerelease tests to unblock e2e tests (b02fc2c)
- Fix value_counts column label for normalize=True (#245) (d3fa6f2)
- Migrate e2e tests to bigframes-load-testing project (8766ac6)
- Ml.sql logic (#262) (68c6fdf)
- Update the llm_kmeans notebook (#247) (66d1839)
Documentation
- Add code samples for
shapeandhead(#257) (5bdcc65) - Add example for dataframe.melt, dataframe.pivot, dataframe.stac… (#252) (8c63697)
- Add example to dataframe.nlargest, dataframe.nsmallest, datafra… (#234) (e735412)
- Add examples for dataframe.cummin, dataframe.cummax, dataframe.cumsum, dataframe.cumprod (#243) (0523a31)
- Add examples for dataframe.nunique, dataframe.diff, dataframe.a… (#251) (77074ec)
- Correct the docs for
option_context(#263) (d21c6dd) - Correct the params rendering for
ml.remoteandml.ensemblemodules (#248) (c2829e3) - Fix return annotation in API docstrings (#253) (89a1c67)