Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# | |
# 01-bigquery.py | |
# | |
""" | |
Cell magic for executing BigQuery queries using %%bq and returning Pandas data frames. | |
Add BIGQUERY_PROJECT_ID to your environment specify a default project id. Otherwise, you can | |
specify one by setting PROJECT_ID in an earlier cell of your notebook. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
entity | cost_eur | calories | carbs | carbs_sugar | carbs_fiber | fat | protein | |
---|---|---|---|---|---|---|---|---|
Bread | 3.75 | 265.0 | 49.0 | 5.0 | 2.7 | 3.2 | 9.0 | |
Oats | 2.46 | 375.0 | 60.0 | 1.1 | 9.0 | 8.0 | 11.0 | |
Rice | 1.1 | 365.0 | 80.0 | 0.1 | 1.3 | 0.7 | 7.0 | |
Cous Cous | 1.65 | 338.0 | 70.5 | 0.4 | 4.2 | 0.4 | 11.6 | |
Chickpeas | 3.06 | 364.0 | 61.0 | 11.0 | 17.0 | 6.0 | 19.0 | |
White beans | 3.7 | 337.0 | 61.0 | 3.5 | 24.0 | 1.5 | 22.0 | |
Peanuts (roasted, salted) | 2.96 | 615.0 | 11.0 | 5.2 | 8.2 | 51.0 | 24.0 | |
Peas | 1.1 | |||||||
Apples | 2.69 | 52.0 | 14.0 | 10.0 | 2.4 | 0.2 | 0.3 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# | |
# 03-mysql.py | |
# | |
""" | |
Add MySQL magics. Needs MySQL credentials to be set in the environment | |
for this to work, and the "mysqlclient" package to be installed. | |
Add this file to the folder: |