GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deprecate `ReadRowsStream.to_dataframe`, `ReadRowsIterable.to_dataframe` · Issue #14280 · googleapis/google-cloud-python

deprecate ReadRowsStream.to_dataframe, ReadRowsIterable.to_dataframe #14280

New issue
Copy link
New issue
Copy link
Open
Open
deprecate ReadRowsStream.to_dataframe, ReadRowsIterable.to_dataframe#14280
Copy link
Assignees
tswast
Labels
api: bigquerystorageIssues related to the BigQuery Storage API.next major: breaking changethis is a change that we should wait to bundle into the next major versiontype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@tswast
tswast
opened on Jul 8, 2021
Issue body actions

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 (dask/dask#3121 (comment)). 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.

Activity

  1. product-auto-label
    added
    api: bigquerystorageIssues related to the BigQuery Storage API.
    on Jul 8, 2021
  2. tswast
    added
    type: processA process-related concern. May include testing, release, or the like.
    on Jul 8, 2021
  3. tswast commented on Jul 8, 2021

    @tswast
    tswast
    on Jul 8, 2021
    ContributorAuthor
    More actions

    Source for the fact that we only need to worry about individual message -> arrow/dataframe:

    https://github.com/googleapis/python-bigquery/blob/1246da86b78b03ca1aa2c45ec71649e294cfb2f1/google/cloud/bigquery/_pandas_helpers.py#L598

    https://github.com/googleapis/python-bigquery/blob/f8d4aaa335a0eef915e73596fc9b43b11d11be9f/google/cloud/bigquery/_pandas_helpers.py#L752

    https://github.com/googleapis/python-bigquery/blob/f8d4aaa335a0eef915e73596fc9b43b11d11be9f/google/cloud/bigquery/_pandas_helpers.py#L581

  4. tswast
    self-assigned this
    on Jul 9, 2021
  5. tswast commented on Sep 21, 2021

    @tswast
    tswast
    on Sep 21, 2021
    ContributorAuthor
    More actions

    Turns out there are some use cases for ReadRowsStream.to_arrow: https://github.com/vaexio/vaex/blob/f1335d20a6f0a52259c368fc0a7fef3cd4919f8f/packages/vaex-contrib/vaex/contrib/io/gbq.py#L112

  6. tswast
    changed the title [-]deprecate `ReadRowsStream.to_dataframe`, `ReadRowsIterable.to_arrow`, `ReadRowsIterable.to_dataframe`, `ReadRowsStream.to_arrow`[/-] [+]deprecate `ReadRowsStream.to_dataframe`, `ReadRowsIterable.to_dataframe`[/+] on Sep 21, 2021
  7. tswast
    removed their assignment
    on Mar 28, 2023
  8. meredithslota
    assigned
    chalmerlowe
    on Jun 13, 2023
  9. meredithslota commented on Jun 13, 2023

    @meredithslota
    meredithslota
    on Jun 13, 2023
    Contributor
    More actions

    googleapis/python-bigquery-storage#247 has a comment about the PR being accidentally closed; I believe we can reuse those changes.

  10. meredithslota
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    next major: breaking changethis is a change that we should wait to bundle into the next major version
    and removed
    type: processA process-related concern. May include testing, release, or the like.
    on Aug 15, 2023
  11. meredithslota
    unassigned
    chalmerlowe
    on Aug 15, 2023
  12. Linchin
    transferred this issue fromgoogleapis/python-bigquery-storageon Aug 21, 2025
  13. parthea commented on Aug 22, 2025

    @parthea
    parthea
    on Aug 22, 2025
    Contributor
    More actions

    This issue was transferred from python-bigquery-storage to google-cloud-python as part of the work for #10991.

  14. daniel-sanche
    assigned
    tswast
    on May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tswast
    tswast

Labels

api: bigquerystorageIssues related to the BigQuery Storage API.next major: breaking changethis is a change that we should wait to bundle into the next major versiontype: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.