[][src]Struct polars::frame::group_by::GroupBy

pub struct GroupBy<'a> {
    pub by: String,
    // some fields omitted
}

Fields

by: String

Implementations

impl<'a> GroupBy<'a>[src]

pub fn select(self, name: &str) -> Self[src]

pub fn mean(&self) -> Result<DataFrame>[src]

Aggregate grouped series and compute the mean per group.

pub fn sum(&self) -> Result<DataFrame>[src]

Aggregate grouped series and compute the sum per group.

pub fn min(&self) -> Result<DataFrame>[src]

Aggregate grouped series and compute the minimal value per group.

pub fn max(&self) -> Result<DataFrame>[src]

Aggregate grouped series and compute the maximum value per group.

pub fn count(&self) -> Result<DataFrame>[src]

Aggregate grouped series and compute the number of values per group.

Trait Implementations

impl<'a> Clone for GroupBy<'a>[src]

impl<'a> Debug for GroupBy<'a>[src]

Auto Trait Implementations

impl<'a> !RefUnwindSafe for GroupBy<'a>

impl<'a> Send for GroupBy<'a>

impl<'a> Sync for GroupBy<'a>

impl<'a> Unpin for GroupBy<'a>

impl<'a> !UnwindSafe for GroupBy<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,