|
23 | 23 | },
|
24 | 24 | {
|
25 | 25 | "cell_type": "code",
|
26 |
| - "execution_count": null, |
| 26 | + "execution_count": 1, |
27 | 27 | "metadata": {},
|
28 | 28 | "outputs": [],
|
29 | 29 | "source": [
|
|
44 | 44 | },
|
45 | 45 | {
|
46 | 46 | "cell_type": "code",
|
47 |
| - "execution_count": 21, |
| 47 | + "execution_count": 2, |
48 | 48 | "metadata": {
|
49 | 49 | "id": "Y6QAttCqqMM0"
|
50 | 50 | },
|
|
55 | 55 | },
|
56 | 56 | {
|
57 | 57 | "cell_type": "code",
|
58 |
| - "execution_count": 22, |
| 58 | + "execution_count": 3, |
59 | 59 | "metadata": {
|
60 | 60 | "colab": {
|
61 | 61 | "base_uri": "https://localhost:8080/",
|
|
66 | 66 | },
|
67 | 67 | "outputs": [
|
68 | 68 | {
|
69 |
| - "name": "stderr", |
70 |
| - "output_type": "stream", |
71 |
| - "text": [ |
72 |
| - "/usr/local/google/home/shobs/code/bigframes1/venv/lib/python3.10/site-packages/IPython/core/interactiveshell.py:3550: UserWarning: Reading cached table from 2024-07-24 08:01:12.491984+00:00 to avoid incompatibilies with previous reads of this table. To read the latest version, set `use_cache=False` or close the current session with Session.close() or bigframes.pandas.close_session().\n", |
73 |
| - " exec(code_obj, self.user_global_ns, self.user_ns)\n" |
74 |
| - ] |
| 69 | + "data": { |
| 70 | + "text/html": [ |
| 71 | + "Query job 1f6094e9-1942-477c-9ce3-87a614d71294 is DONE. 0 Bytes processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:1f6094e9-1942-477c-9ce3-87a614d71294&page=queryresults\">Open Job</a>" |
| 72 | + ], |
| 73 | + "text/plain": [ |
| 74 | + "<IPython.core.display.HTML object>" |
| 75 | + ] |
| 76 | + }, |
| 77 | + "metadata": {}, |
| 78 | + "output_type": "display_data" |
75 | 79 | },
|
76 | 80 | {
|
77 | 81 | "data": {
|
78 | 82 | "text/html": [
|
79 |
| - "Query job 9d155f10-e37a-4d20-b2ff-02868ecb58f4 is DONE. 582.8 kB processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:9d155f10-e37a-4d20-b2ff-02868ecb58f4&page=queryresults\">Open Job</a>" |
| 83 | + "Query job ba19f29c-33d3-4f12-9605-ddeafb74918e is DONE. 582.8 kB processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:ba19f29c-33d3-4f12-9605-ddeafb74918e&page=queryresults\">Open Job</a>" |
80 | 84 | ],
|
81 | 85 | "text/plain": [
|
82 | 86 | "<IPython.core.display.HTML object>"
|
|
88 | 92 | {
|
89 | 93 | "data": {
|
90 | 94 | "text/html": [
|
91 |
| - "Query job 5a524e70-12dc-4116-b416-04570bbf754e is DONE. 82.0 kB processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:5a524e70-12dc-4116-b416-04570bbf754e&page=queryresults\">Open Job</a>" |
| 95 | + "Query job dd1ff8be-700a-4ce5-91a0-31413f70cfad is DONE. 82.0 kB processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:dd1ff8be-700a-4ce5-91a0-31413f70cfad&page=queryresults\">Open Job</a>" |
92 | 96 | ],
|
93 | 97 | "text/plain": [
|
94 | 98 | "<IPython.core.display.HTML object>"
|
|
125 | 129 | " </thead>\n",
|
126 | 130 | " <tbody>\n",
|
127 | 131 | " <tr>\n",
|
128 |
| - " <th>36</th>\n", |
129 |
| - " <td>Reds</td>\n", |
130 |
| - " <td>Cubs</td>\n", |
131 |
| - " <td>159</td>\n", |
| 132 | + " <th>88</th>\n", |
| 133 | + " <td>Royals</td>\n", |
| 134 | + " <td>Athletics</td>\n", |
| 135 | + " <td>176</td>\n", |
132 | 136 | " </tr>\n",
|
133 | 137 | " <tr>\n",
|
134 |
| - " <th>358</th>\n", |
| 138 | + " <th>106</th>\n", |
135 | 139 | " <td>Dodgers</td>\n",
|
136 |
| - " <td>Diamondbacks</td>\n", |
137 |
| - " <td>223</td>\n", |
| 140 | + " <td>Giants</td>\n", |
| 141 | + " <td>216</td>\n", |
138 | 142 | " </tr>\n",
|
139 | 143 | " <tr>\n",
|
140 |
| - " <th>416</th>\n", |
141 |
| - " <td>Yankees</td>\n", |
142 |
| - " <td>White Sox</td>\n", |
143 |
| - " <td>216</td>\n", |
| 144 | + " <th>166</th>\n", |
| 145 | + " <td>Phillies</td>\n", |
| 146 | + " <td>Royals</td>\n", |
| 147 | + " <td>162</td>\n", |
144 | 148 | " </tr>\n",
|
145 | 149 | " <tr>\n",
|
146 |
| - " <th>523</th>\n", |
147 |
| - " <td>Rays</td>\n", |
148 |
| - " <td>Athletics</td>\n", |
149 |
| - " <td>187</td>\n", |
| 150 | + " <th>247</th>\n", |
| 151 | + " <td>Rangers</td>\n", |
| 152 | + " <td>Royals</td>\n", |
| 153 | + " <td>161</td>\n", |
150 | 154 | " </tr>\n",
|
151 | 155 | " <tr>\n",
|
152 |
| - " <th>594</th>\n", |
153 |
| - " <td>Pirates</td>\n", |
154 |
| - " <td>Brewers</td>\n", |
155 |
| - " <td>169</td>\n", |
| 156 | + " <th>374</th>\n", |
| 157 | + " <td>Athletics</td>\n", |
| 158 | + " <td>Astros</td>\n", |
| 159 | + " <td>161</td>\n", |
156 | 160 | " </tr>\n",
|
157 | 161 | " </tbody>\n",
|
158 | 162 | "</table>\n",
|
159 | 163 | "</div>"
|
160 | 164 | ],
|
161 | 165 | "text/plain": [
|
162 |
| - " homeTeamName awayTeamName duration_minutes\n", |
163 |
| - "36 Reds Cubs 159\n", |
164 |
| - "358 Dodgers Diamondbacks 223\n", |
165 |
| - "416 Yankees White Sox 216\n", |
166 |
| - "523 Rays Athletics 187\n", |
167 |
| - "594 Pirates Brewers 169" |
| 166 | + " homeTeamName awayTeamName duration_minutes\n", |
| 167 | + "88 Royals Athletics 176\n", |
| 168 | + "106 Dodgers Giants 216\n", |
| 169 | + "166 Phillies Royals 162\n", |
| 170 | + "247 Rangers Royals 161\n", |
| 171 | + "374 Athletics Astros 161" |
168 | 172 | ]
|
169 | 173 | },
|
170 |
| - "execution_count": 22, |
| 174 | + "execution_count": 3, |
171 | 175 | "metadata": {},
|
172 | 176 | "output_type": "execute_result"
|
173 | 177 | }
|
|
216 | 220 | },
|
217 | 221 | {
|
218 | 222 | "cell_type": "code",
|
219 |
| - "execution_count": 23, |
| 223 | + "execution_count": 4, |
220 | 224 | "metadata": {
|
221 | 225 | "colab": {
|
222 | 226 | "base_uri": "https://localhost:8080/",
|
|
226 | 230 | "outputId": "19351206-116e-4da2-8ff0-f288b7745b27"
|
227 | 231 | },
|
228 | 232 | "outputs": [
|
| 233 | + { |
| 234 | + "name": "stderr", |
| 235 | + "output_type": "stream", |
| 236 | + "text": [ |
| 237 | + "/usr/local/google/home/arwas/src1/python-bigquery-dataframes/bigframes/functions/_function_session.py:335: UserWarning: You have not explicitly set a user-managed cloud_function_service_account. Using the default compute service account, {cloud_function_service_account}. To use Bigframes 2.0, please set an explicit user-managed cloud_function_service_account or set cloud_function_service_account explicitly to `default`.See, https://cloud.google.com/functions/docs/securing/function-identity.\n", |
| 238 | + " warnings.warn(msg, category=UserWarning)\n" |
| 239 | + ] |
| 240 | + }, |
229 | 241 | {
|
230 | 242 | "data": {
|
231 | 243 | "text/html": [
|
232 |
| - "Query job ec8d958d-93ef-45ae-8150-6ccfa8feb89a is DONE. 0 Bytes processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:ec8d958d-93ef-45ae-8150-6ccfa8feb89a&page=queryresults\">Open Job</a>" |
| 244 | + "Query job 7c021760-59c4-4f3a-846c-9693a4d16eef is DONE. 0 Bytes processed. <a target=\"_blank\" href=\"https://console.cloud.google.com/bigquery?project=bigframes-dev&j=bq:US:7c021760-59c4-4f3a-846c-9693a4d16eef&page=queryresults\">Open Job</a>" |
233 | 245 | ],
|
234 | 246 | "text/plain": [
|
235 | 247 | "<IPython.core.display.HTML object>"
|
|
242 | 254 | "name": "stdout",
|
243 | 255 | "output_type": "stream",
|
244 | 256 | "text": [
|
245 |
| - "Created cloud function 'projects/bigframes-dev/locations/us-central1/functions/bigframes-session54c8b0-e22dbecc9ec0374bda36bc23df3775b0-g8zp' and BQ remote function 'bigframes-dev._1b6c31ff1bcd5d2f6d86833cf8268317f1b12d57.bigframes_session54c8b0_e22dbecc9ec0374bda36bc23df3775b0_g8zp'.\n" |
| 257 | + "Created cloud function 'projects/bigframes-dev/locations/us-central1/functions/bigframes-sessionca6012-ca541a90249f8b62951f38b7aba6a711-49to' and BQ remote function 'bigframes-dev._ed1e4d0f7d41174ba506d34d15dccf040d13f69e.bigframes_sessionca6012_ca541a90249f8b62951f38b7aba6a711_49to'.\n" |
246 | 258 | ]
|
247 | 259 | }
|
248 | 260 | ],
|
|
1430 | 1442 | "name": "python",
|
1431 | 1443 | "nbconvert_exporter": "python",
|
1432 | 1444 | "pygments_lexer": "ipython3",
|
1433 |
| - "version": "3.10.12" |
| 1445 | + "version": "3.9.19" |
1434 | 1446 | }
|
1435 | 1447 | },
|
1436 | 1448 | "nbformat": 4,
|
|
0 commit comments