Skip to content

Commit 3ffa8ed

Browse files
committed
change docstring description of default method
1 parent 769f774 commit 3ffa8ed

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

xray/core/alignment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def reindex_variables(variables, indexes, indexers, method=None, copy=True):
119119
method : {None, 'nearest', 'pad'/'ffill', 'backfill'/'bfill'}, optional
120120
Method to use for filling index values in ``indexers`` not found in
121121
this dataset:
122-
* default: don't fill gaps
122+
* None (default): don't fill gaps
123123
* pad / ffill: propgate last valid index value forward
124124
* backfill / bfill: propagate next valid index value backward
125125
* nearest: use nearest valid index value

xray/core/dataarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def reindex_like(self, other, method=None, copy=True):
590590
Method to use for filling index values from other not found on this
591591
data array:
592592
593-
* default: don't fill gaps
593+
* None (default): don't fill gaps
594594
* pad / ffill: propgate last valid index value forward
595595
* backfill / bfill: propagate next valid index value backward
596596
* nearest: use nearest valid index value (requires pandas>=0.16)
@@ -626,7 +626,7 @@ def reindex(self, method=None, copy=True, **indexers):
626626
Method to use for filling index values in ``indexers`` not found on
627627
this data array:
628628
629-
* default: don't fill gaps
629+
* None (default): don't fill gaps
630630
* pad / ffill: propgate last valid index value forward
631631
* backfill / bfill: propagate next valid index value backward
632632
* nearest: use nearest valid index value (requires pandas>=0.16)

xray/core/dataset.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ def sel(self, method=None, **indexers):
10041004
method : {None, 'nearest', 'pad'/'ffill', 'backfill'/'bfill'}, optional
10051005
Method to use for inexact matches (requires pandas>=0.16):
10061006
1007-
* default: only exact matches
1007+
* None (default): only exact matches
10081008
* pad / ffill: propgate last valid index value forward
10091009
* backfill / bfill: propagate next valid index value backward
10101010
* nearest: use nearest valid index value
@@ -1140,7 +1140,7 @@ def sel_points(self, dim='points', method=None, **indexers):
11401140
method : {None, 'nearest', 'pad'/'ffill', 'backfill'/'bfill'}, optional
11411141
Method to use for inexact matches (requires pandas>=0.16):
11421142
1143-
* default: only exact matches
1143+
* None (default): only exact matches
11441144
* pad / ffill: propgate last valid index value forward
11451145
* backfill / bfill: propagate next valid index value backward
11461146
* nearest: use nearest valid index value
@@ -1185,7 +1185,7 @@ def reindex_like(self, other, method=None, copy=True):
11851185
Method to use for filling index values from other not found in this
11861186
dataset:
11871187
1188-
* default: don't fill gaps
1188+
* None (default): don't fill gaps
11891189
* pad / ffill: propgate last valid index value forward
11901190
* backfill / bfill: propagate next valid index value backward
11911191
* nearest: use nearest valid index value (requires pandas>=0.16)
@@ -1222,7 +1222,7 @@ def reindex(self, indexers=None, method=None, copy=True, **kw_indexers):
12221222
Method to use for filling index values in ``indexers`` not found in
12231223
this dataset:
12241224
1225-
* default: don't fill gaps
1225+
* None (default): don't fill gaps
12261226
* pad / ffill: propgate last valid index value forward
12271227
* backfill / bfill: propagate next valid index value backward
12281228
* nearest: use nearest valid index value (requires pandas>=0.16)

0 commit comments

Comments
 (0)