Skip to content

Releases: googleapis/python-bigquery-dataframes

v0.24.0

13 Mar 00:55
cba21ba
Compare
Choose a tag to compare

0.24.0 (2024-03-12)

⚠ BREAKING CHANGES

  • read_parquet uses a "pandas" engine to parse files by default. Use engine="bigquery" for the previous behavior

Features

Bug Fixes

  • Move third_party.bigframes_vendored to bigframes_vendored (#424) (763edeb)
  • Only do row identity based joins when joining by index (#356) (76b252f)
  • Read_pandas inline respects location (#412) (ae0e3ea)

Documentation

  • Add predict sample to samples/snippets/bqml_getting_started_test.py (#388) (6a3b0cc)
  • Document minimum IAM requirement (#416) (36173b0)
  • Fix the note rendering for DataFrames methods: nlargest, nsmallest (#417) (38bd2ba)

v0.23.0

05 Mar 19:21
45e6229
Compare
Choose a tag to compare

0.23.0 (2024-03-05)

Features

  • Add ml.metrics.pairwise.euclidean_distance (#397) (1726588)
  • Add TextEmbedding model version support (#394) (e0f1ab0)

Bug Fixes

  • Code exception in remote_function now prevents retry and surfaces in the client (#387) (dd3643d)
  • Docs link for metrics.pairwise (#400) (a60aba7)

Dependencies

  • Update ibis to version 8.0.0 and refactor remote_function to use ibis UDF method (#277) (350499b)

Documentation

  • Update README to point to new summary pages (#402) (bfe2b23)

v0.22.0

27 Feb 23:00
20de7f4
Compare
Choose a tag to compare

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

  • Add minimum version constraint for sqlglot to 19.9.0 (#389) (8b62d77)

Documentation

  • Add a code sample for creating a kmeans model (#267) (4291d65)
  • Fix bigframes.pandas.concat documentation (#382) (234b61c)

Miscellaneous Chores

Code Refactoring

v0.21.0

13 Feb 22:09
747e5f6
Compare
Choose a tag to compare

0.21.0 (2024-02-13)

Features

  • Add Series.cov method (#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

  • Clarify ADC pre-auth in a non-interactive environment (#348) (99a9e6e)

v0.20.1

06 Feb 21:21
91596b8
Compare
Choose a tag to compare

0.20.1 (2024-02-06)

Performance Improvements

  • Make repr cache the block where appropriate (#350) (068879f)

Documentation

  • Add a sample to demonstrate the evaluation results (#364) (cff0919)
  • Fix the DataFrame.apply code sample (#366) (1866a26)

v0.20.0

30 Jan 20:58
18efb83
Compare
Choose a tag to compare

0.20.0 (2024-01-30)

Features

  • Add DataFrame.peek() as an efficient alternative to head() 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

  • Add code samples for Series.{between, cumprod} (#353) (09a52fd)

v0.19.2

22 Jan 19:08
ae43905
Compare
Choose a tag to compare

0.19.2 (2024-01-22)

Bug Fixes

  • Read_gbq large response issue (#332) (b8178b9)
  • Use object dtype for ARRAY columns in to_pandas() with pandas 1.x (#329) (374ddb5)

Documentation

v0.19.1

17 Jan 01:20
f3cd2f4
Compare
Choose a tag to compare

0.19.1 (2024-01-17)

Bug Fixes

  • Handle multi-level columns for df aggregates properly (#305) (5bb45ba)
  • Update max_output_token limitation. (#308) (5cccd36)

Documentation

v0.19.0

10 Jan 00:29
aac35a3
Compare
Choose a tag to compare

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

  • Add code samples for Series.ffill and DataFrame.ffill (#307) (1c63b45)

v0.18.0

03 Jan 19:29
655178a
Compare
Choose a tag to compare

0.18.0 (2024-01-02)

Features

  • Add dataframe.to_html (#259) (2cd6489)
  • Add IntervalIndex support to bigframes.pandas.cut (#254) (6c1969a)
  • Add replace method to DataFrame (#261) (5092215)
  • Specific pyarrow mappings for decimal, bytes types (#283) (a1c0631)

Bug Fixes

  • Dataframes.to_gbq now 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.replace work for simple strings (#285) (ad67465)
  • Update dataframe.to_gbq to dedup column names. (#286) (746115d)
  • Use setuptools.find_namespace_packages (#246) (9ec352a)

Dependencies

  • Migrate to ibis-framework >= "7.1.0" (#53) (9798a2b)

Documentation

  • Add code snippets for explore query result page (#278) (7cbbb7d)
  • Code samples for astype common to DataFrame and Series (#280) (95b673a)
  • Code samples for DataFrame.copy and Series.copy (#290) (7cbc2b0)
  • Code samples for drop and fillna (#284) (9c5012e)
  • Code samples for isna, isnull, dropna, isin (#289) (ad51035)
  • Code samples for rename , size (#293) (eb69f60)
  • Code samples for reset_index and sort_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.groupby and Series.{sum,mean,min,max} (#280) (95b673a)
  • Code samples for DataFrame set_index, items (#295) (c2b1892)
  • Fix the rendering for get_dummies (#291) (252f3a2)