Trait polars::chunked_array::object::ChunkPeaks [−][src]
pub trait ChunkPeaks { fn peak_max(&self) -> ChunkedArray<BooleanType> { ... } fn peak_min(&self) -> ChunkedArray<BooleanType> { ... } }
Expand description
Find local minima/ maxima
Provided methods
fn peak_max(&self) -> ChunkedArray<BooleanType>
fn peak_max(&self) -> ChunkedArray<BooleanType>
Get a boolean mask of the local maximum peaks.
fn peak_min(&self) -> ChunkedArray<BooleanType>
fn peak_min(&self) -> ChunkedArray<BooleanType>
Get a boolean mask of the local minimum peaks.
Implementors
impl<T> ChunkPeaks for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
impl<T> ChunkPeaks for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumComp,
<T as ArrowPrimitiveType>::Native: Zero,