@@ -315,10 +315,10 @@ class Dataset(
315
315
<xarray.Dataset> Size: 552B
316
316
Dimensions: (loc: 2, instrument: 3, time: 4)
317
317
Coordinates:
318
- lon (loc) float64 16B -99.83 -99.32
319
- lat (loc) float64 16B 42.25 42.21
320
318
* instrument (instrument) <U8 96B 'manufac1' 'manufac2' 'manufac3'
321
319
* time (time) datetime64[ns] 32B 2014-09-06 ... 2014-09-09
320
+ lon (loc) float64 16B -99.83 -99.32
321
+ lat (loc) float64 16B 42.25 42.21
322
322
reference_time datetime64[ns] 8B 2014-09-05
323
323
Dimensions without coordinates: loc
324
324
Data variables:
@@ -1806,8 +1806,8 @@ def set_coords(self, names: Hashable | Iterable[Hashable]) -> Self:
1806
1806
<xarray.Dataset> Size: 48B
1807
1807
Dimensions: (time: 3)
1808
1808
Coordinates:
1809
- pressure (time) float64 24B 1.013 1.2 3.5
1810
1809
* time (time) datetime64[ns] 24B 2023-01-01 2023-01-02 2023-01-03
1810
+ pressure (time) float64 24B 1.013 1.2 3.5
1811
1811
Data variables:
1812
1812
*empty*
1813
1813
@@ -3805,8 +3805,8 @@ def interp(
3805
3805
<xarray.Dataset> Size: 224B
3806
3806
Dimensions: (x: 4, y: 4)
3807
3807
Coordinates:
3808
- * y (y) int64 32B 10 12 14 16
3809
3808
* x (x) float64 32B 0.0 0.75 1.25 1.75
3809
+ * y (y) int64 32B 10 12 14 16
3810
3810
Data variables:
3811
3811
a (x) float64 32B 5.0 6.5 6.25 4.75
3812
3812
b (x, y) float64 128B 1.0 4.0 2.0 nan 1.75 ... nan 5.0 nan 5.25 nan
@@ -3817,8 +3817,8 @@ def interp(
3817
3817
<xarray.Dataset> Size: 224B
3818
3818
Dimensions: (x: 4, y: 4)
3819
3819
Coordinates:
3820
- * y (y) int64 32B 10 12 14 16
3821
3820
* x (x) float64 32B 0.0 0.75 1.25 1.75
3821
+ * y (y) int64 32B 10 12 14 16
3822
3822
Data variables:
3823
3823
a (x) float64 32B 5.0 7.0 7.0 4.0
3824
3824
b (x, y) float64 128B 1.0 4.0 2.0 9.0 2.0 7.0 ... nan 6.0 nan 5.0 8.0
@@ -3833,8 +3833,8 @@ def interp(
3833
3833
<xarray.Dataset> Size: 224B
3834
3834
Dimensions: (x: 4, y: 4)
3835
3835
Coordinates:
3836
- * y (y) int64 32B 10 12 14 16
3837
3836
* x (x) float64 32B 1.0 1.5 2.5 3.5
3837
+ * y (y) int64 32B 10 12 14 16
3838
3838
Data variables:
3839
3839
a (x) float64 32B 7.0 5.5 2.5 -0.5
3840
3840
b (x, y) float64 128B 2.0 7.0 6.0 nan 4.0 ... nan 12.0 nan 3.5 nan
@@ -4358,8 +4358,8 @@ def swap_dims(
4358
4358
<xarray.Dataset> Size: 56B
4359
4359
Dimensions: (y: 2)
4360
4360
Coordinates:
4361
- x (y) <U1 8B 'a' 'b'
4362
4361
* y (y) int64 16B 0 1
4362
+ x (y) <U1 8B 'a' 'b'
4363
4363
Data variables:
4364
4364
a (y) int64 16B 5 7
4365
4365
b (y) float64 16B 0.1 2.4
@@ -8208,8 +8208,8 @@ def quantile(
8208
8208
<xarray.Dataset> Size: 152B
8209
8209
Dimensions: (quantile: 3, y: 4)
8210
8210
Coordinates:
8211
- * y (y) float64 32B 1.0 1.5 2.0 2.5
8212
8211
* quantile (quantile) float64 24B 0.0 0.5 1.0
8212
+ * y (y) float64 32B 1.0 1.5 2.0 2.5
8213
8213
Data variables:
8214
8214
a (quantile, y) float64 96B 0.7 4.2 2.6 1.5 3.6 ... 6.5 7.3 9.4 1.9
8215
8215
@@ -8682,9 +8682,9 @@ def filter_by_attrs(self, **kwargs) -> Self:
8682
8682
<xarray.Dataset> Size: 192B
8683
8683
Dimensions: (x: 2, y: 2, time: 3)
8684
8684
Coordinates:
8685
+ * time (time) datetime64[ns] 24B 2014-09-06 2014-09-07 2014-09-08
8685
8686
lon (x, y) float64 32B -99.83 -99.32 -99.79 -99.23
8686
8687
lat (x, y) float64 32B 42.25 42.21 42.63 42.59
8687
- * time (time) datetime64[ns] 24B 2014-09-06 2014-09-07 2014-09-08
8688
8688
reference_time datetime64[ns] 8B 2014-09-05
8689
8689
Dimensions without coordinates: x, y
8690
8690
Data variables:
@@ -8697,9 +8697,9 @@ def filter_by_attrs(self, **kwargs) -> Self:
8697
8697
<xarray.Dataset> Size: 288B
8698
8698
Dimensions: (x: 2, y: 2, time: 3)
8699
8699
Coordinates:
8700
+ * time (time) datetime64[ns] 24B 2014-09-06 2014-09-07 2014-09-08
8700
8701
lon (x, y) float64 32B -99.83 -99.32 -99.79 -99.23
8701
8702
lat (x, y) float64 32B 42.25 42.21 42.63 42.59
8702
- * time (time) datetime64[ns] 24B 2014-09-06 2014-09-07 2014-09-08
8703
8703
reference_time datetime64[ns] 8B 2014-09-05
8704
8704
Dimensions without coordinates: x, y
8705
8705
Data variables:
@@ -9370,8 +9370,8 @@ def argmin(self, dim: Hashable | None = None, **kwargs) -> Self:
9370
9370
<xarray.DataArray 'student' (test: 3)> Size: 84B
9371
9371
array(['Bob', 'Bob', 'Alice'], dtype='<U7')
9372
9372
Coordinates:
9373
- student (test) <U7 84B 'Bob' 'Bob' 'Alice'
9374
9373
* test (test) <U6 72B 'Test 1' 'Test 2' 'Test 3'
9374
+ student (test) <U7 84B 'Bob' 'Bob' 'Alice'
9375
9375
9376
9376
>>> min_score_in_english = dataset["student"].isel(
9377
9377
... student=argmin_indices["english_scores"]
@@ -9380,8 +9380,8 @@ def argmin(self, dim: Hashable | None = None, **kwargs) -> Self:
9380
9380
<xarray.DataArray 'student' (test: 3)> Size: 84B
9381
9381
array(['Charlie', 'Bob', 'Charlie'], dtype='<U7')
9382
9382
Coordinates:
9383
- student (test) <U7 84B 'Charlie' 'Bob' 'Charlie'
9384
9383
* test (test) <U6 72B 'Test 1' 'Test 2' 'Test 3'
9384
+ student (test) <U7 84B 'Charlie' 'Bob' 'Charlie'
9385
9385
9386
9386
See Also
9387
9387
--------
0 commit comments