Skip to content

Commit 23d76b4

Browse files
griveratdcherian
authored andcommitted
Minor doc fixes (#3615)
1 parent 2ee89c3 commit 23d76b4

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

xarray/core/dataarray.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def thin(
11151115
**indexers_kwargs: Any,
11161116
) -> "DataArray":
11171117
"""Return a new DataArray whose data is given by each `n` value
1118-
along the specified dimension(s). Default `n` = 5
1118+
along the specified dimension(s).
11191119
11201120
See Also
11211121
--------
@@ -1289,7 +1289,7 @@ def reindex(
12891289
satisfy the equation ``abs(index[indexer] - target) <= tolerance``.
12901290
fill_value : scalar, optional
12911291
Value to use for newly missing values
1292-
**indexers_kwarg : {dim: indexer, ...}, optional
1292+
**indexers_kwargs : {dim: indexer, ...}, optional
12931293
The keyword arguments form of ``indexers``.
12941294
One of indexers or indexers_kwargs must be provided.
12951295
@@ -1338,7 +1338,7 @@ def interp(
13381338
values.
13391339
kwargs: dictionary
13401340
Additional keyword passed to scipy's interpolator.
1341-
``**coords_kwarg`` : {dim: coordinate, ...}, optional
1341+
``**coords_kwargs`` : {dim: coordinate, ...}, optional
13421342
The keyword arguments form of ``coords``.
13431343
One of coords or coords_kwargs must be provided.
13441344
@@ -2740,7 +2740,7 @@ def shift(
27402740
Value to use for newly missing values
27412741
**shifts_kwargs:
27422742
The keyword arguments form of ``shifts``.
2743-
One of shifts or shifts_kwarg must be provided.
2743+
One of shifts or shifts_kwargs must be provided.
27442744
27452745
Returns
27462746
-------
@@ -2791,7 +2791,7 @@ def roll(
27912791
deprecated and will change to False in a future version.
27922792
Explicitly pass roll_coords to silence the warning.
27932793
**shifts_kwargs : The keyword arguments form of ``shifts``.
2794-
One of shifts or shifts_kwarg must be provided.
2794+
One of shifts or shifts_kwargs must be provided.
27952795
27962796
Returns
27972797
-------

xarray/core/dataset.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,7 +1887,7 @@ def isel(
18871887
drop : bool, optional
18881888
If ``drop=True``, drop coordinates variables indexed by integers
18891889
instead of making them scalar.
1890-
**indexers_kwarg : {dim: indexer, ...}, optional
1890+
**indexers_kwargs : {dim: indexer, ...}, optional
18911891
The keyword arguments form of ``indexers``.
18921892
One of indexers or indexers_kwargs must be provided.
18931893
@@ -2033,7 +2033,7 @@ def sel(
20332033
drop : bool, optional
20342034
If ``drop=True``, drop coordinates variables in `indexers` instead
20352035
of making them scalar.
2036-
**indexers_kwarg : {dim: indexer, ...}, optional
2036+
**indexers_kwargs : {dim: indexer, ...}, optional
20372037
The keyword arguments form of ``indexers``.
20382038
One of indexers or indexers_kwargs must be provided.
20392039
@@ -2168,7 +2168,7 @@ def thin(
21682168
21692169
Parameters
21702170
----------
2171-
indexers : dict or int, default: 5
2171+
indexers : dict or int
21722172
A dict with keys matching dimensions and integer values `n`
21732173
or a single integer `n` applied over all dimensions.
21742174
One of indexers or indexers_kwargs must be provided.
@@ -2332,7 +2332,7 @@ def reindex(
23322332
fill_value : scalar, optional
23332333
Value to use for newly missing values
23342334
sparse: use sparse-array. By default, False
2335-
**indexers_kwarg : {dim: indexer, ...}, optional
2335+
**indexers_kwargs : {dim: indexer, ...}, optional
23362336
Keyword arguments in the same form as ``indexers``.
23372337
One of indexers or indexers_kwargs must be provided.
23382338
@@ -2547,7 +2547,7 @@ def interp(
25472547
values.
25482548
kwargs: dictionary, optional
25492549
Additional keyword passed to scipy's interpolator.
2550-
**coords_kwarg : {dim: coordinate, ...}, optional
2550+
**coords_kwargs : {dim: coordinate, ...}, optional
25512551
The keyword arguments form of ``coords``.
25522552
One of coords or coords_kwargs must be provided.
25532553
@@ -4938,7 +4938,7 @@ def shift(self, shifts=None, fill_value=dtypes.NA, **shifts_kwargs):
49384938
Value to use for newly missing values
49394939
**shifts_kwargs:
49404940
The keyword arguments form of ``shifts``.
4941-
One of shifts or shifts_kwarg must be provided.
4941+
One of shifts or shifts_kwargs must be provided.
49424942
49434943
Returns
49444944
-------

xarray/core/variable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ def shift(self, shifts=None, fill_value=dtypes.NA, **shifts_kwargs):
11371137
Value to use for newly missing values
11381138
**shifts_kwargs:
11391139
The keyword arguments form of ``shifts``.
1140-
One of shifts or shifts_kwarg must be provided.
1140+
One of shifts or shifts_kwargs must be provided.
11411141
11421142
Returns
11431143
-------
@@ -1245,7 +1245,7 @@ def roll(self, shifts=None, **shifts_kwargs):
12451245
left.
12461246
**shifts_kwargs:
12471247
The keyword arguments form of ``shifts``.
1248-
One of shifts or shifts_kwarg must be provided.
1248+
One of shifts or shifts_kwargs must be provided.
12491249
12501250
Returns
12511251
-------

0 commit comments

Comments
 (0)