Skip to content

Commit 798d050

Browse files
committed
also select with a non-quantity
1 parent baae68f commit 798d050

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/agnostic/pint.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ or raise on incompatible units:
8080

8181
```{python}
8282
quantified.sel(
83-
months=ureg.Quantity(10, "m")
83+
months=ureg.Quantity(10, "m"),
84+
level=200,
8485
)
8586
```
87+
88+
(`pint` considers values without units as "dimensionless")

0 commit comments

Comments
 (0)