File tree 3 files changed +13
-7
lines changed
3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Installation
6
6
Required dependencies
7
7
---------------------
8
8
9
- - Python 2.7, 3.3, 3. 4 or 3.5
9
+ - Python 2.7, 3.4 or 3.5
10
10
- `numpy <http://www.numpy.org/ >`__ (1.7 or later)
11
11
- `pandas <http://pandas.pydata.org/ >`__ (0.15.0 or later)
12
12
@@ -36,7 +36,8 @@ For accelerating xarray
36
36
For parallel computing
37
37
~~~~~~~~~~~~~~~~~~~~~~
38
38
39
- - `dask.array <http://dask.pydata.org >`__: required for :ref: `dask `.
39
+ - `dask.array <http://dask.pydata.org >`__ (0.9.0 or later): required for
40
+ :ref: `dask `.
40
41
41
42
For plotting
42
43
~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ Breaking changes
70
70
- Coordinates used to index a dimension are now loaded eagerly into
71
71
:py:class: `pandas.Index ` objects, instead of loading the values lazily.
72
72
By `Guido Imperiale <https://github.com/crusaderky >`_.
73
- - xarray no longer supports python 3.3
73
+ - xarray no longer supports python 3.3 or versions of dask prior to v0.9.0.
74
74
75
75
Deprecations
76
76
~~~~~~~~~~~~
@@ -223,6 +223,9 @@ Bug fixes
223
223
- Fixed a bug with facetgrid (the ``norm `` keyword was ignored, :issue: `1159 `).
224
224
By `Fabien Maussion <https://github.com/fmaussion >`_.
225
225
226
+ - Fix to make ``.copy() `` actually copy dask arrays, which will be relevant for
227
+ future releases of dask in which dask arrays will be mutable (:issue: `1180 `).
228
+
226
229
.. _whats-new.0.8.2 :
227
230
228
231
v0.8.2 (18 August 2016)
Original file line number Diff line number Diff line change @@ -437,10 +437,12 @@ def copy(self, deep=True):
437
437
# don't share caching between copies
438
438
data = indexing .MemoryCachedArray (data .array )
439
439
440
- if deep and not isinstance (
441
- data , (dask_array_type , PandasIndexAdapter )):
442
- # pandas.Index and dask.array objects are immutable
443
- data = np .array (data )
440
+ if deep :
441
+ if isinstance (data , dask_array_type ):
442
+ data = data .copy ()
443
+ elif not isinstance (data , PandasIndexAdapter ):
444
+ # pandas.Index is immutable
445
+ data = np .array (data )
444
446
445
447
# note:
446
448
# dims is already an immutable tuple
You can’t perform that action at this time.
0 commit comments