Skip to content

Commit 377db3f

Browse files
committed
restore notebook
1 parent f8976c3 commit 377db3f

File tree

1 file changed

+23
-53
lines changed

1 file changed

+23
-53
lines changed

notebooks/dataframes/anywidget_mode.ipynb

Lines changed: 23 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
"execution_count": null,
5+
"execution_count": 1,
66
"id": "d10bfca4",
77
"metadata": {},
88
"outputs": [],
@@ -32,7 +32,7 @@
3232
},
3333
{
3434
"cell_type": "code",
35-
"execution_count": null,
35+
"execution_count": 1,
3636
"id": "ca22f059",
3737
"metadata": {},
3838
"outputs": [],
@@ -50,7 +50,7 @@
5050
},
5151
{
5252
"cell_type": "code",
53-
"execution_count": null,
53+
"execution_count": 2,
5454
"id": "1bc5aaf3",
5555
"metadata": {},
5656
"outputs": [],
@@ -69,7 +69,7 @@
6969
},
7070
{
7171
"cell_type": "code",
72-
"execution_count": null,
72+
"execution_count": 3,
7373
"id": "f289d250",
7474
"metadata": {},
7575
"outputs": [
@@ -96,7 +96,7 @@
9696
},
9797
{
9898
"cell_type": "code",
99-
"execution_count": null,
99+
"execution_count": 4,
100100
"id": "42bb02ab",
101101
"metadata": {},
102102
"outputs": [
@@ -123,26 +123,14 @@
123123
},
124124
{
125125
"cell_type": "code",
126-
"execution_count": null,
126+
"execution_count": 5,
127127
"id": "ce250157",
128128
"metadata": {},
129129
"outputs": [
130-
{
131-
"data": {
132-
"text/html": [
133-
"Query job 1171b7b3-3f65-4165-a69d-69dad5a100d1 is DONE. 171.4 MB processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:1171b7b3-3f65-4165-a69d-69dad5a100d1&page=queryresults\">Open Job</a>"
134-
],
135-
"text/plain": [
136-
"<IPython.core.display.HTML object>"
137-
]
138-
},
139-
"metadata": {},
140-
"output_type": "display_data"
141-
},
142130
{
143131
"data": {
144132
"application/vnd.jupyter.widget-view+json": {
145-
"model_id": "6b70bf0e30a04a3cab11e03b2ed80856",
133+
"model_id": "a85f5799996d4de1a7912182c43fdf54",
146134
"version_major": 2,
147135
"version_minor": 1
148136
},
@@ -179,22 +167,10 @@
179167
},
180168
{
181169
"cell_type": "code",
182-
"execution_count": null,
170+
"execution_count": 6,
183171
"id": "6920d49b",
184172
"metadata": {},
185173
"outputs": [
186-
{
187-
"data": {
188-
"text/html": [
189-
"Query job 3100859b-c57c-42fe-a5fb-abb4f2f25db2 is DONE. 171.4 MB processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:3100859b-c57c-42fe-a5fb-abb4f2f25db2&page=queryresults\">Open Job</a>"
190-
],
191-
"text/plain": [
192-
"<IPython.core.display.HTML object>"
193-
]
194-
},
195-
"metadata": {},
196-
"output_type": "display_data"
197-
},
198174
{
199175
"name": "stdout",
200176
"output_type": "stream",
@@ -205,13 +181,12 @@
205181
{
206182
"data": {
207183
"application/vnd.jupyter.widget-view+json": {
208-
"model_id": "4714b0794f55435a8d3e136517158a5c",
184+
"model_id": "261075a0d1d2487f804926884fe55eb2",
209185
"version_major": 2,
210186
"version_minor": 1
211187
},
212188
"text/plain": [
213189
"TableWidget(page_size=10, row_count=5552452, table_html='<table border=\"1\" class=\"dataframe table table-stripe…"
214-
"TableWidget(page_size=10, row_count=5552452, table_html='<table border=\"1\" class=\"dataframe table table-stripe…"
215190
]
216191
},
217192
"execution_count": 6,
@@ -241,7 +216,7 @@
241216
},
242217
{
243218
"cell_type": "code",
244-
"execution_count": null,
219+
"execution_count": 7,
245220
"id": "12b68f15",
246221
"metadata": {},
247222
"outputs": [
@@ -278,30 +253,18 @@
278253
},
279254
{
280255
"cell_type": "code",
281-
"execution_count": null,
256+
"execution_count": 8,
282257
"id": "a9d5d13a",
283258
"metadata": {},
284259
"outputs": [
285260
{
286261
"name": "stderr",
287262
"output_type": "stream",
288263
"text": [
289-
"/usr/local/google/home/shuowei/src/python-bigquery-dataframes/bigframes/core/array_value.py:230: AmbiguousWindowWarning: Window ordering may be ambiguous, this can cause unstable results.\n",
264+
"/usr/local/google/home/swast/src/github.com/googleapis/python-bigquery-dataframes/bigframes/core/array_value.py:231: AmbiguousWindowWarning: Window ordering may be ambiguous, this can cause unstable results.\n",
290265
" warnings.warn(msg, bfe.AmbiguousWindowWarning)\n"
291266
]
292267
},
293-
{
294-
"data": {
295-
"text/html": [
296-
"Query job b4143f15-4bac-44a5-bb29-c5056f95b30b is DONE. 171.4 MB processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:b4143f15-4bac-44a5-bb29-c5056f95b30b&page=queryresults\">Open Job</a>"
297-
],
298-
"text/plain": [
299-
"<IPython.core.display.HTML object>"
300-
]
301-
},
302-
"metadata": {},
303-
"output_type": "display_data"
304-
},
305268
{
306269
"name": "stdout",
307270
"output_type": "stream",
@@ -312,13 +275,12 @@
312275
{
313276
"data": {
314277
"application/vnd.jupyter.widget-view+json": {
315-
"model_id": "c70b5611db6b4e6a806a16d0a8287cd3",
278+
"model_id": "b37aec5d1c534e9f810e18c4fa7b8491",
316279
"version_major": 2,
317280
"version_minor": 1
318281
},
319282
"text/plain": [
320283
"TableWidget(page_size=10, row_count=5, table_html='<table border=\"1\" class=\"dataframe table table-striped tabl…"
321-
"TableWidget(page_size=10, row_count=5, table_html='<table border=\"1\" class=\"dataframe table table-striped tabl…"
322284
]
323285
},
324286
"execution_count": 8,
@@ -333,11 +295,19 @@
333295
"print(f\"Small dataset pages: {math.ceil(small_widget.row_count / small_widget.page_size)}\")\n",
334296
"small_widget"
335297
]
298+
},
299+
{
300+
"cell_type": "code",
301+
"execution_count": null,
302+
"id": "c4e5836b-c872-4a9c-b9ec-14f6f338176d",
303+
"metadata": {},
304+
"outputs": [],
305+
"source": []
336306
}
337307
],
338308
"metadata": {
339309
"kernelspec": {
340-
"display_name": "venv",
310+
"display_name": "Python 3 (ipykernel)",
341311
"language": "python",
342312
"name": "python3"
343313
},
@@ -351,7 +321,7 @@
351321
"name": "python",
352322
"nbconvert_exporter": "python",
353323
"pygments_lexer": "ipython3",
354-
"version": "3.10.15"
324+
"version": "3.10.16"
355325
}
356326
},
357327
"nbformat": 4,

0 commit comments

Comments
 (0)