googleapis / googleapis/google-cloud-python

deprecate `ReadRowsStream.to_dataframe`, `ReadRowsIterable.to_dataframe`

Open
#14,280 4 comments 0 reactions 1 assignee Claimed by @tswast View on GitHub
api: bigquerystorage next major: breaking change type: feature request
Dominant language
Python
Stars
5.4k
Forks
1.8k
Avg merge
3d 4h
Merged PRs (30d)
122

Description

These higher-level functions seemed useful at the time of implementation, but they were not needed by `google-cloud-bigquery`, `pandas-gbq`, or even experimental Dask (https://github.com/dask/dask/issues/3121#issuecomment-578328715). Instead, only the lower-level `ReadRowsPage.to_arrow` and `ReadRowsPage.to_dataframe` methods were used.

Deprecating these can allow us to deprecate the passing around of `read_session` fully because we won't have to worry about returning something sensible for empty streams.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.