Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
ritchie46 committed Dec 14, 2023
1 parent bcfd3e6 commit e1f6d24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/polars-core/src/series/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ impl Series {
/// ```
/// # use polars_core::prelude::*;
/// let s = Series::new("days", &[1, 2, 3]);
/// assert_eq!(s.sum(), Some(6));
/// assert_eq!(s.sum().unwrap(), 6);
/// ```
pub fn sum<T>(&self) -> PolarsResult<T>
where
Expand All @@ -361,7 +361,7 @@ impl Series {
/// ```
/// # use polars_core::prelude::*;
/// let s = Series::new("days", [1, 2, 3].as_ref());
/// assert_eq!(s.min(), Some(1));
/// assert_eq!(s.min().unwrap(), Some(1));
/// ```
pub fn min<T>(&self) -> PolarsResult<Option<T>>
where
Expand All @@ -376,7 +376,7 @@ impl Series {
/// ```
/// # use polars_core::prelude::*;
/// let s = Series::new("days", [1, 2, 3].as_ref());
/// assert_eq!(s.max(), Some(3));
/// assert_eq!(s.max().unwrap(), Some(3));
/// ```
pub fn max<T>(&self) -> PolarsResult<Option<T>>
where
Expand Down

0 comments on commit e1f6d24

Please sign in to comment.