From 9c6cd68ccae8eb6991f64a71bce85463f2859ac4 Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Thu, 27 Jul 2017 11:29:23 -0700 Subject: [PATCH] updating to new syntax --- README.md | 4 ++-- index.ipynb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1b39ed7b..2ac45f99 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ A Binder-compatible repo with an `environment.yml` file. -[![Binder](http://mybinder.org/badge.svg)](http://beta.mybinder.org/v2/gh/binder-examples/conda-environment/master) +[![Binder](http://mybinder.org/badge.svg)](http://beta.mybinder.org/v2/gh/binder-examples/conda_environment/v1.0?filepath=index.ipynb) Access this Binder at the following URL: -http://beta.mybinder.org/v2/gh/binder-examples/conda-environment/master +http://beta.mybinder.org/v2/gh/binder-examples/conda_environment/v1.0?filepath=index.ipynb # Notes The `environment.yml` file should list all Python libraries on which your notebooks diff --git a/index.ipynb b/index.ipynb index edd75c23..22ea57cc 100644 --- a/index.ipynb +++ b/index.ipynb @@ -11,7 +11,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "This notebook uses a Python 3.4 environment with a few libraries, including `dask`, all of which were specificied using a `conda` [environment.yml](../edit/environment.yml) file. To demo the environment, we'll show a simplified example of using `dask` to analyze time series data, adapted from Matthew Rocklin's excellent repo of [dask examples](https://github.com/blaze/dask-examples) — check out that repo for the full version (and many other examples)." + "This notebook uses a Python environment with a few libraries, including `dask`, all of which were specificied using a `conda` [environment.yml](../edit/environment.yml) file. To demo the environment, we'll show a simplified example of using `dask` to analyze time series data, adapted from Matthew Rocklin's excellent repo of [dask examples](https://github.com/blaze/dask-examples) — check out that repo for the full version (and many other examples)." ] }, { @@ -125,7 +125,7 @@ } ], "source": [ - "df.A.cumsum().resample('1w', how='mean').compute().plot();" + "df.A.cumsum().resample('1w').mean().compute().plot();" ] } ], @@ -145,9 +145,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.4.3" + "version": "3.6.1" } }, "nbformat": 4, - "nbformat_minor": 0 + "nbformat_minor": 2 }