diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 05208f4..4b91d61 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -9,9 +9,8 @@ jobs: uses: actions/checkout@v2 - name: Setup Conda Environment - uses: conda-incubator/setup-miniconda@v2 + uses: conda-incubator/setup-miniconda@v3 with: - miniconda-version: "latest" mamba-version: "*" environment-file: binder/environment.yml activate-environment: dask-tutorial diff --git a/00_overview.ipynb b/00_overview.ipynb index f3ac0ce..32fa732 100644 --- a/00_overview.ipynb +++ b/00_overview.ipynb @@ -53,8 +53,8 @@ "outputs": [], "source": [ "ddf = dd.read_parquet(\n", - " \"s3://dask-data/nyc-taxi/nyc-2015.parquet/part.*.parquet\",\n", - " columns=[\"passenger_count\", \"tip_amount\"],\n", + " \"s3://coiled-data/uber/\",\n", + " columns=[\"tips\"],\n", " storage_options={\"anon\": True},\n", ")" ] @@ -65,7 +65,7 @@ "metadata": {}, "outputs": [], "source": [ - "result = ddf.groupby(\"passenger_count\").tip_amount.mean().compute()\n", + "result = ddf[\"tips\"][ddf[\"tips\"] > 0].mean().compute()\n", "result" ] }, diff --git a/binder/environment.yml b/binder/environment.yml index e224205..5c9db52 100644 --- a/binder/environment.yml +++ b/binder/environment.yml @@ -10,6 +10,7 @@ dependencies: - dask=2023.1.0 - dask-labextension - distributed=2023.1.0 + - cryptography - matplotlib - pandas=1.5 - pip diff --git a/conf.py b/conf.py index 0b854ad..8f6d480 100644 --- a/conf.py +++ b/conf.py @@ -75,7 +75,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. @@ -104,7 +104,7 @@ # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ["_static"] +html_static_path = [] # Custom sidebar templates, must be a dictionary that maps document names # to template names.