@@ -1026,7 +1026,6 @@ def reset_coords(
1026
1026
drop : Literal [True ],
1027
1027
) -> Self : ...
1028
1028
1029
- @_deprecate_positional_args ("v2023.10.0" )
1030
1029
def reset_coords (
1031
1030
self ,
1032
1031
names : Dims = None ,
@@ -1364,7 +1363,6 @@ def chunksizes(self) -> Mapping[Any, tuple[int, ...]]:
1364
1363
all_variables = [self .variable ] + [c .variable for c in self .coords .values ()]
1365
1364
return get_chunksizes (all_variables )
1366
1365
1367
- @_deprecate_positional_args ("v2023.10.0" )
1368
1366
def chunk (
1369
1367
self ,
1370
1368
chunks : T_ChunksFreq = {}, # noqa: B006 # {} even though it's technically unsafe, is being used intentionally here (#4667)
@@ -1835,7 +1833,6 @@ def thin(
1835
1833
ds = self ._to_temp_dataset ().thin (indexers , ** indexers_kwargs )
1836
1834
return self ._from_temp_dataset (ds )
1837
1835
1838
- @_deprecate_positional_args ("v2023.10.0" )
1839
1836
def broadcast_like (
1840
1837
self ,
1841
1838
other : T_DataArrayOrSet ,
@@ -1948,7 +1945,6 @@ def _reindex_callback(
1948
1945
1949
1946
return da
1950
1947
1951
- @_deprecate_positional_args ("v2023.10.0" )
1952
1948
def reindex_like (
1953
1949
self ,
1954
1950
other : T_DataArrayOrSet ,
@@ -2135,7 +2131,6 @@ def reindex_like(
2135
2131
fill_value = fill_value ,
2136
2132
)
2137
2133
2138
- @_deprecate_positional_args ("v2023.10.0" )
2139
2134
def reindex (
2140
2135
self ,
2141
2136
indexers : Mapping [Any , Any ] | None = None ,
@@ -2960,7 +2955,6 @@ def stack(
2960
2955
)
2961
2956
return self ._from_temp_dataset (ds )
2962
2957
2963
- @_deprecate_positional_args ("v2023.10.0" )
2964
2958
def unstack (
2965
2959
self ,
2966
2960
dim : Dims = None ,
@@ -3385,7 +3379,6 @@ def drop_isel(
3385
3379
dataset = dataset .drop_isel (indexers = indexers , ** indexers_kwargs )
3386
3380
return self ._from_temp_dataset (dataset )
3387
3381
3388
- @_deprecate_positional_args ("v2023.10.0" )
3389
3382
def dropna (
3390
3383
self ,
3391
3384
dim : Hashable ,
@@ -4889,7 +4882,6 @@ def _title_for_slice(self, truncate: int = 50) -> str:
4889
4882
4890
4883
return title
4891
4884
4892
- @_deprecate_positional_args ("v2023.10.0" )
4893
4885
def diff (
4894
4886
self ,
4895
4887
dim : Hashable ,
@@ -5198,7 +5190,6 @@ def sortby(
5198
5190
ds = self ._to_temp_dataset ().sortby (variables , ascending = ascending )
5199
5191
return self ._from_temp_dataset (ds )
5200
5192
5201
- @_deprecate_positional_args ("v2023.10.0" )
5202
5193
def quantile (
5203
5194
self ,
5204
5195
q : ArrayLike ,
@@ -5318,7 +5309,6 @@ def quantile(
5318
5309
)
5319
5310
return self ._from_temp_dataset (ds )
5320
5311
5321
- @_deprecate_positional_args ("v2023.10.0" )
5322
5312
def rank (
5323
5313
self ,
5324
5314
dim : Hashable ,
@@ -5897,7 +5887,6 @@ def pad(
5897
5887
)
5898
5888
return self ._from_temp_dataset (ds )
5899
5889
5900
- @_deprecate_positional_args ("v2023.10.0" )
5901
5890
def idxmin (
5902
5891
self ,
5903
5892
dim : Hashable | None = None ,
@@ -5995,7 +5984,6 @@ def idxmin(
5995
5984
keep_attrs = keep_attrs ,
5996
5985
)
5997
5986
5998
- @_deprecate_positional_args ("v2023.10.0" )
5999
5987
def idxmax (
6000
5988
self ,
6001
5989
dim : Hashable = None ,
@@ -6093,7 +6081,6 @@ def idxmax(
6093
6081
keep_attrs = keep_attrs ,
6094
6082
)
6095
6083
6096
- @_deprecate_positional_args ("v2023.10.0" )
6097
6084
def argmin (
6098
6085
self ,
6099
6086
dim : Dims = None ,
@@ -6195,7 +6182,6 @@ def argmin(
6195
6182
else :
6196
6183
return self ._replace_maybe_drop_dims (result )
6197
6184
6198
- @_deprecate_positional_args ("v2023.10.0" )
6199
6185
def argmax (
6200
6186
self ,
6201
6187
dim : Dims = None ,
@@ -6544,7 +6530,6 @@ def curvefit(
6544
6530
kwargs = kwargs ,
6545
6531
)
6546
6532
6547
- @_deprecate_positional_args ("v2023.10.0" )
6548
6533
def drop_duplicates (
6549
6534
self ,
6550
6535
dim : Hashable | Iterable [Hashable ],
0 commit comments