File tree Expand file tree Collapse file tree 1 file changed +7
-63
lines changed Expand file tree Collapse file tree 1 file changed +7
-63
lines changed Original file line number Diff line number Diff line change 2
2
"cells" : [
3
3
{
4
4
"cell_type" : " code" ,
5
- "execution_count" : 1 ,
5
+ "execution_count" : null ,
6
6
"metadata" : {},
7
7
"outputs" : [],
8
8
"source" : [
12
12
},
13
13
{
14
14
"cell_type" : " code" ,
15
- "execution_count" : 3 ,
15
+ "execution_count" : null ,
16
16
"metadata" : {},
17
17
"outputs" : [],
18
18
"source" : [
21
21
},
22
22
{
23
23
"cell_type" : " code" ,
24
- "execution_count" : 4 ,
24
+ "execution_count" : null ,
25
25
"metadata" : {},
26
26
"outputs" : [],
27
27
"source" : [
28
+ " google.cloud.bigquery.magics.context.project = \" my-project-id\"\n " ,
28
29
" google.cloud.bigquery.magics.context.credentials = credentials"
29
30
]
30
31
},
31
32
{
32
33
"cell_type" : " code" ,
33
- "execution_count" : 5 ,
34
+ "execution_count" : null ,
34
35
"metadata" : {},
35
36
"outputs" : [],
36
37
"source" : [
39
40
},
40
41
{
41
42
"cell_type" : " code" ,
42
- "execution_count" : 7 ,
43
+ "execution_count" : null ,
43
44
"metadata" : {},
44
- "outputs" : [
45
- {
46
- "data" : {
47
- "text/html" : [
48
- " <div>\n " ,
49
- " <style scoped>\n " ,
50
- " .dataframe tbody tr th:only-of-type {\n " ,
51
- " vertical-align: middle;\n " ,
52
- " }\n " ,
53
- " \n " ,
54
- " .dataframe tbody tr th {\n " ,
55
- " vertical-align: top;\n " ,
56
- " }\n " ,
57
- " \n " ,
58
- " .dataframe thead th {\n " ,
59
- " text-align: right;\n " ,
60
- " }\n " ,
61
- " </style>\n " ,
62
- " <table border=\" 1\" class=\" dataframe\" >\n " ,
63
- " <thead>\n " ,
64
- " <tr style=\" text-align: right;\" >\n " ,
65
- " <th></th>\n " ,
66
- " <th>name</th>\n " ,
67
- " <th>count</th>\n " ,
68
- " </tr>\n " ,
69
- " </thead>\n " ,
70
- " <tbody>\n " ,
71
- " <tr>\n " ,
72
- " <td>0</td>\n " ,
73
- " <td>James</td>\n " ,
74
- " <td>5015584</td>\n " ,
75
- " </tr>\n " ,
76
- " <tr>\n " ,
77
- " <td>1</td>\n " ,
78
- " <td>John</td>\n " ,
79
- " <td>4885284</td>\n " ,
80
- " </tr>\n " ,
81
- " <tr>\n " ,
82
- " <td>2</td>\n " ,
83
- " <td>Robert</td>\n " ,
84
- " <td>4749154</td>\n " ,
85
- " </tr>\n " ,
86
- " </tbody>\n " ,
87
- " </table>\n " ,
88
- " </div>"
89
- ],
90
- "text/plain" : [
91
- " name count\n " ,
92
- " 0 James 5015584\n " ,
93
- " 1 John 4885284\n " ,
94
- " 2 Robert 4749154"
95
- ]
96
- },
97
- "execution_count" : 7 ,
98
- "metadata" : {},
99
- "output_type" : " execute_result"
100
- }
101
- ],
45
+ "outputs" : [],
102
46
"source" : [
103
47
" %%bigquery\n " ,
104
48
" SELECT name, SUM(number) as count\n " ,
You can’t perform that action at this time.
0 commit comments