From b89ccf3fa6e4802cab3a08906379951e2c1a393b Mon Sep 17 00:00:00 2001 From: Weijie Guo Date: Wed, 25 Oct 2023 21:08:37 +0800 Subject: [PATCH] comments --- crates/polars-ops/src/series/ops/abs.rs | 2 +- crates/polars-time/src/group_by/dynamic.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/polars-ops/src/series/ops/abs.rs b/crates/polars-ops/src/series/ops/abs.rs index 20212719eac7..f27c687904c3 100644 --- a/crates/polars-ops/src/series/ops/abs.rs +++ b/crates/polars-ops/src/series/ops/abs.rs @@ -9,7 +9,7 @@ where ca.apply_values(|v| v.abs()) } -/// convert numerical values to their absolute value +/// Convert numerical values to their absolute value. pub fn abs(s: &Series) -> PolarsResult { let physical_s = s.to_physical_repr(); use DataType::*; diff --git a/crates/polars-time/src/group_by/dynamic.rs b/crates/polars-time/src/group_by/dynamic.rs index 0c9d7e344076..660805f11ec7 100644 --- a/crates/polars-time/src/group_by/dynamic.rs +++ b/crates/polars-time/src/group_by/dynamic.rs @@ -659,7 +659,7 @@ fn update_subgroups_idx( #[cfg(test)] mod test { use chrono::prelude::*; - use polars_ops::prelude::abs; + use polars_ops::prelude::*; use super::*;