Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions doc/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: xray
dependencies:
- python=2.7
- numpy=1.10
- pandas=0.17.1
- numpydoc=0.5
- seaborn=0.6
- dask=0.7.5
- ipython=4.0.1
- sphinx=1.2.3 # pin to avoid https://github.com/sphinx-doc/sphinx/issues/1822
2 changes: 1 addition & 1 deletion doc/examples/quick-overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ index labels and dimensions. It looks a lot like a netCDF file:

.. ipython:: python

ds = data.to_dataset()
ds = data.to_dataset(name='foo')
ds

You can do almost everything you can do with ``DataArray`` objects with
Expand Down
4 changes: 2 additions & 2 deletions doc/indexing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ simultaneously, returning a new dataset:

.. ipython:: python

ds = arr.to_dataset()
ds = arr.to_dataset(name='foo')
ds.isel(space=[0], time=[0])
ds.sel(time='2000-01-01')
ds2 = da.to_dataset()
ds2 = da.to_dataset(name='bar')
ds2.isel_points(x=[0, 1, 6], y=[0, 1, 0], dim='points')

Positional indexing on a dataset is not supported because the ordering of
Expand Down
12 changes: 0 additions & 12 deletions doc/requirements.txt

This file was deleted.

5 changes: 5 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
conda:
file: doc/environment.yml
python:
version: 2
setup_py_install: true