|
14 | 14 | }, |
15 | 15 | { |
16 | 16 | "cell_type": "code", |
17 | | - "execution_count": 1, |
| 17 | + "execution_count": null, |
18 | 18 | "id": "23677c2e-037c-4233-805e-c290b8c439d9", |
19 | 19 | "metadata": { |
20 | 20 | "scrolled": true |
21 | 21 | }, |
22 | | - "outputs": [ |
23 | | - { |
24 | | - "name": "stdout", |
25 | | - "output_type": "stream", |
26 | | - "text": [ |
27 | | - "Defaulting to user installation because normal site-packages is not writeable\n", |
28 | | - "Collecting git+https://github.com/boilingdata/py-boilingdata@v0.2.9\n", |
29 | | - " Cloning https://github.com/boilingdata/py-boilingdata (to revision v0.2.9) to /private/var/folders/vy/p7dz__m15lb1pbm6xk1b9gxw0000gn/T/pip-req-build-nfbjf2sn\n", |
30 | | - " Running command git clone --filter=blob:none --quiet https://github.com/boilingdata/py-boilingdata /private/var/folders/vy/p7dz__m15lb1pbm6xk1b9gxw0000gn/T/pip-req-build-nfbjf2sn\n", |
31 | | - " Running command git checkout -q c776c2c632de06c3e3c10d503eed8cbf1b954f90\n", |
32 | | - " Resolved https://github.com/boilingdata/py-boilingdata to commit c776c2c632de06c3e3c10d503eed8cbf1b954f90\n", |
33 | | - " Installing build dependencies ... \u001b[?25ldone\n", |
34 | | - "\u001b[?25h Getting requirements to build wheel ... \u001b[?25ldone\n", |
35 | | - "\u001b[?25h Preparing metadata (pyproject.toml) ... \u001b[?25ldone\n", |
36 | | - "\u001b[?25hRequirement already satisfied: pandas in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (2.1.3)\n", |
37 | | - "Requirement already satisfied: numpy in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (1.26.2)\n", |
38 | | - "Requirement already satisfied: asyncio<4.0.0,>=3.4.3 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (3.4.3)\n", |
39 | | - "Requirement already satisfied: boto3<2.0.0,>=1.29.1 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (1.29.1)\n", |
40 | | - "Requirement already satisfied: botocore<2.0.0,>=1.32.1 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (1.32.1)\n", |
41 | | - "Requirement already satisfied: duckdb<0.10.0,>=0.9.2 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (0.9.2)\n", |
42 | | - "Requirement already satisfied: pytest-snapshot<0.10.0,>=0.9.0 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (0.9.0)\n", |
43 | | - "Requirement already satisfied: python-dotenv<2.0.0,>=1.0.0 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (1.0.0)\n", |
44 | | - "Requirement already satisfied: rel<0.5.0,>=0.4.9 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (0.4.9)\n", |
45 | | - "Requirement already satisfied: uuid<2.0,>=1.30 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (1.30)\n", |
46 | | - "Requirement already satisfied: websocket-client<2.0.0,>=1.6.4 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from py-boilingdata==0.2.9) (1.6.4)\n", |
47 | | - "Requirement already satisfied: python-dateutil>=2.8.2 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from pandas) (2.8.2)\n", |
48 | | - "Requirement already satisfied: pytz>=2020.1 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from pandas) (2023.3.post1)\n", |
49 | | - "Requirement already satisfied: tzdata>=2022.1 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from pandas) (2023.3)\n", |
50 | | - "Requirement already satisfied: jmespath<2.0.0,>=0.7.1 in /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from boto3<2.0.0,>=1.29.1->py-boilingdata==0.2.9) (1.0.1)\n", |
51 | | - "Requirement already satisfied: s3transfer<0.8.0,>=0.7.0 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from boto3<2.0.0,>=1.29.1->py-boilingdata==0.2.9) (0.7.0)\n", |
52 | | - "Requirement already satisfied: urllib3<1.27,>=1.25.4 in /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from botocore<2.0.0,>=1.32.1->py-boilingdata==0.2.9) (1.26.18)\n", |
53 | | - "Requirement already satisfied: pytest>=3.0.0 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from pytest-snapshot<0.10.0,>=0.9.0->py-boilingdata==0.2.9) (7.4.3)\n", |
54 | | - "Requirement already satisfied: six>=1.5 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from python-dateutil>=2.8.2->pandas) (1.16.0)\n", |
55 | | - "Requirement already satisfied: iniconfig in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from pytest>=3.0.0->pytest-snapshot<0.10.0,>=0.9.0->py-boilingdata==0.2.9) (2.0.0)\n", |
56 | | - "Requirement already satisfied: packaging in /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from pytest>=3.0.0->pytest-snapshot<0.10.0,>=0.9.0->py-boilingdata==0.2.9) (23.2)\n", |
57 | | - "Requirement already satisfied: pluggy<2.0,>=0.12 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from pytest>=3.0.0->pytest-snapshot<0.10.0,>=0.9.0->py-boilingdata==0.2.9) (1.3.0)\n", |
58 | | - "Requirement already satisfied: exceptiongroup>=1.0.0rc8 in /Users/dforsber/Library/Python/3.9/lib/python/site-packages (from pytest>=3.0.0->pytest-snapshot<0.10.0,>=0.9.0->py-boilingdata==0.2.9) (1.1.3)\n", |
59 | | - "Requirement already satisfied: tomli>=1.0.0 in /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from pytest>=3.0.0->pytest-snapshot<0.10.0,>=0.9.0->py-boilingdata==0.2.9) (2.0.1)\n", |
60 | | - "Building wheels for collected packages: py-boilingdata\n", |
61 | | - " Building wheel for py-boilingdata (pyproject.toml) ... \u001b[?25ldone\n", |
62 | | - "\u001b[?25h Created wheel for py-boilingdata: filename=py_boilingdata-0.2.9-py3-none-any.whl size=6382 sha256=602279f130d6a72a26f052b590454edde69eeb6a32609ebbea0e87bd7a509fc3\n", |
63 | | - " Stored in directory: /private/var/folders/vy/p7dz__m15lb1pbm6xk1b9gxw0000gn/T/pip-ephem-wheel-cache-pndeg62t/wheels/02/b0/a2/56b51f0538b8120578d497f9f7e74299344a84903f5a911888\n", |
64 | | - "Successfully built py-boilingdata\n", |
65 | | - "Installing collected packages: py-boilingdata\n", |
66 | | - " Attempting uninstall: py-boilingdata\n", |
67 | | - " Found existing installation: py-boilingdata 0.2.8\n", |
68 | | - " Uninstalling py-boilingdata-0.2.8:\n", |
69 | | - " Successfully uninstalled py-boilingdata-0.2.8\n", |
70 | | - "Successfully installed py-boilingdata-0.2.9\n", |
71 | | - "Note: you may need to restart the kernel to use updated packages.\n" |
72 | | - ] |
73 | | - } |
74 | | - ], |
| 22 | + "outputs": [], |
75 | 23 | "source": [ |
76 | | - "pip install git+https://github.com/boilingdata/py-boilingdata@v0.3.0 pandas numpy" |
| 24 | + "pip install git+https://github.com/boilingdata/py-boilingdata@v0.3.0 jupyter pandas numpy ruff" |
77 | 25 | ] |
78 | 26 | }, |
79 | 27 | { |
|
92 | 40 | }, |
93 | 41 | { |
94 | 42 | "cell_type": "code", |
95 | | - "execution_count": 10, |
| 43 | + "execution_count": null, |
96 | 44 | "id": "a849f659-1892-4e49-b7d4-b8b315750e13", |
97 | 45 | "metadata": {}, |
98 | 46 | "outputs": [], |
|
291 | 239 | "source": [ |
292 | 240 | "## Small data set example\n", |
293 | 241 | "\n", |
294 | | - "The `test.parquet` is a small Parquet file, we can query as well." |
| 242 | + "The `test.parquet` is a small Parquet file, we can query as well.\n", |
| 243 | + "\n", |
| 244 | + "**NOTE**: If you have setup your own IAM Role, the default demo IAM Role does not apply anymore and you don't have access to boilingdata-demo S3 Bucket." |
295 | 245 | ] |
296 | 246 | }, |
297 | 247 | { |
|
788 | 738 | "name": "python", |
789 | 739 | "nbconvert_exporter": "python", |
790 | 740 | "pygments_lexer": "ipython3", |
791 | | - "version": "3.9.18" |
| 741 | + "version": "3.12.0" |
792 | 742 | } |
793 | 743 | }, |
794 | 744 | "nbformat": 4, |
|
0 commit comments