Skip to content
forked from pydata/xarray

Commit

Permalink
better docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Oct 28, 2019
1 parent e84cc97 commit 8739ddd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xarray/core/duck_array_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ def allclose_or_equiv(arr1, arr2, rtol=1e-5, atol=1e-8):


def lazy_array_equiv(arr1, arr2):
"""Like array_equal, but doesn't actually compare values
"""Like array_equal, but doesn't actually compare values.
Returns True or False when equality can be determined without computing.
Returns None when equality cannot determined (e.g. one or both of arr1, arr2 are numpy arrays)
"""
arr1 = asarray(arr1)
arr2 = asarray(arr2)
Expand Down

0 comments on commit 8739ddd

Please sign in to comment.