Commit 57e7822
authored
feat(bigquery-storage): add deprecation warning for to_dataframe (#18022)
Following the addition of `PendingDeprecationWarning` to
`ReadRowsPage.to_arrow()` in #17938, this PR adds
`PendingDeprecationWarning` to `ReadRowsPage.to_dataframe()` in
`google-cloud-bigquery-storage`.
This notifies developers to adopt direct `pandas-gbq` APIs
(`pandas_gbq.read_gbq()` or
`pandas_gbq.pandas.read_bigquery_stream_batches()`) ahead of future
deprecation phases.
Fixes #< 526614511 > 🦕1 parent 71e8d94 commit 57e7822
2 files changed
Lines changed: 23 additions & 1 deletion
File tree
- packages/google-cloud-bigquery-storage
- google/cloud/bigquery_storage_v1
- tests/unit
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
620 | 626 | | |
621 | 627 | | |
622 | 628 | | |
| |||
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
700 | 699 | | |
701 | 700 | | |
702 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
0 commit comments