pub trait LazyFrameExtension {
// Required method
fn round_float_columns(self, decimals: u32) -> Self;
}Expand description
Trait extension for LazyFrame to provide additional functionalities.
Required Methods§
Sourcefn round_float_columns(self, decimals: u32) -> Self
fn round_float_columns(self, decimals: u32) -> Self
Rounds float columns (Float32 and Float64) in a LazyFrame to a specified number of decimal places using optimized Polars expressions.
Columns of other data types remain unchanged.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.