You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/agnostic/pint.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ quantified.sel(
92
92
We can also perform numerical operations, like integration:
93
93
94
94
```{code-cell} python
95
-
quantified["windspeed"].integrate("months")
95
+
quantified["windspeed"].integrate("month")
96
96
```
97
97
98
98
Note how the units are displayed as `"meter * months / second"` and not the expected `"meter"`? This is caused by `pint` trying avoid implicit conversions as much as possible, which can substantially reduce the amount of computations.
0 commit comments