From bc632b2de32f059e99d949678c5307bf9039945f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 12 Aug 2024 16:24:21 -0500 Subject: [PATCH 1/2] DOC: add pandas-gbq and related db-dtypes packages to ecosystem As of pandas 2.2.0, pandas-gbq functionality is fully separated, so I think now would be a good time to introduce it as part of the "ecosystem". db-dtypes was built for use from pandas-gbq but should be applicable more generally. --- web/pandas/community/ecosystem.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/web/pandas/community/ecosystem.md b/web/pandas/community/ecosystem.md index 49ece5564c300..2cf874304f4ab 100644 --- a/web/pandas/community/ecosystem.md +++ b/web/pandas/community/ecosystem.md @@ -360,6 +360,13 @@ Deltalake python package lets you access tables stored in JVM. It provides the ``delta_table.to_pyarrow_table().to_pandas()`` method to convert any Delta table into Pandas dataframe. +### [pandas-gbq]([https://github.com/yehoshuadimarsky/bcpandas](https://github.com/googleapis/python-bigquery-pandas)) + +pandas-gbq provides high performance reads and writes to and from +[Google BigQuery](https://cloud.google.com/bigquery/). Previously (before version 2.2.0), +these methods were exposed as `pandas.read_gbq` and `DataFrame.to_gbq`. +Use `pandas_gbq.read_gbq` and `pandas_gbq.to_gbq`, instead. + ## Out-of-core ### [Bodo](https://bodo.ai/) @@ -513,6 +520,13 @@ Arrays](https://awkward-array.org/) inside pandas' Series and DataFrame. It also provides an accessor for using awkward functions on Series that are of awkward type. +### [db-dtypes](https://github.com/googleapis/python-db-dtypes-pandas) + +db-dtypes provides an extension types for working with types like +DATE, TIME, and JSON from database systems. This package is used +by pandas-gbq to provide natural dtypes for BigQuery data types without +a natural numpy type. + ### [Pandas-Genomics](https://pandas-genomics.readthedocs.io/en/latest/) Pandas-Genomics provides an extension type and extension array for working From 2e551198f477f4ed612471b45b0082eded59991e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Swe=C3=B1a=20=28Swast=29?= Date: Mon, 12 Aug 2024 16:26:06 -0500 Subject: [PATCH 2/2] fix pandas-gbq link --- web/pandas/community/ecosystem.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pandas/community/ecosystem.md b/web/pandas/community/ecosystem.md index 2cf874304f4ab..c14996211bb8b 100644 --- a/web/pandas/community/ecosystem.md +++ b/web/pandas/community/ecosystem.md @@ -360,7 +360,7 @@ Deltalake python package lets you access tables stored in JVM. It provides the ``delta_table.to_pyarrow_table().to_pandas()`` method to convert any Delta table into Pandas dataframe. -### [pandas-gbq]([https://github.com/yehoshuadimarsky/bcpandas](https://github.com/googleapis/python-bigquery-pandas)) +### [pandas-gbq](https://github.com/googleapis/python-bigquery-pandas) pandas-gbq provides high performance reads and writes to and from [Google BigQuery](https://cloud.google.com/bigquery/). Previously (before version 2.2.0),