|
4 | 4 | "cell_type": "markdown", |
5 | 5 | "metadata": {}, |
6 | 6 | "source": [ |
7 | | - "# BigFrames StreamingDataFrame", |
8 | | - "bigframes.streaming.StreamingDataFrame is a special DataFrame type that allows simple operations and can create streaming jobs to process real-time data and reverse ETL output to Bigtable and Pub/Sub using [BigQuery continuous queries](https://cloud.google.com/bigquery/docs/continuous-queries-introduction).\n", |
| 7 | + "# BigFrames StreamingDataFramebigframes.streaming.StreamingDataFrame is a special DataFrame type that allows simple operations and can create streaming jobs to process real-time data and reverse ETL output to Bigtable and Pub/Sub using [BigQuery continuous queries](https://cloud.google.com/bigquery/docs/continuous-queries-introduction).\n", |
9 | 8 | "\n", |
10 | 9 | "In this notebook, we will:\n", |
11 | 10 | "* Create a StreamingDataFrame from a BigQuery table\n", |
|
31 | 30 | ], |
32 | 31 | "source": [ |
33 | 32 | "import bigframes\n", |
| 33 | + "\n", |
34 | 34 | "# make sure bigframes version >= 1.12.0\n", |
35 | 35 | "bigframes.__version__" |
36 | 36 | ] |
|
43 | 43 | "source": [ |
44 | 44 | "import bigframes.pandas as bpd\n", |
45 | 45 | "import bigframes.streaming as bst\n", |
| 46 | + "\n", |
46 | 47 | "bigframes.options._bigquery_options.project = \"bigframes-load-testing\" # Change to your own project ID\n", |
47 | 48 | "job_id_prefix = \"test_streaming_\"" |
48 | 49 | ] |
|
97 | 98 | "cell_type": "markdown", |
98 | 99 | "metadata": {}, |
99 | 100 | "source": [ |
100 | | - "## Create, select, filter and preview", |
101 | | - "Create the StreamingDataFrame from a BigQuery table, select certain columns, filter rows and preview the output" |
| 101 | + "## Create, select, filter and previewCreate the StreamingDataFrame from a BigQuery table, select certain columns, filter rows and preview the output" |
102 | 102 | ] |
103 | 103 | }, |
104 | 104 | { |
|
559 | 559 | ], |
560 | 560 | "metadata": { |
561 | 561 | "kernelspec": { |
562 | | - "display_name": "venv", |
| 562 | + "display_name": "Python 3 (ipykernel)", |
563 | 563 | "language": "python", |
564 | 564 | "name": "python3" |
565 | 565 | }, |
|
573 | 573 | "name": "python", |
574 | 574 | "nbconvert_exporter": "python", |
575 | 575 | "pygments_lexer": "ipython3", |
576 | | - "version": "3.12.1" |
| 576 | + "version": "3.10.19" |
577 | 577 | } |
578 | 578 | }, |
579 | 579 | "nbformat": 4, |
580 | | - "nbformat_minor": 2 |
| 580 | + "nbformat_minor": 4 |
581 | 581 | } |
0 commit comments