H3CompactDataframe

Trait H3CompactDataframe 

Source
pub trait H3CompactDataframe {
    // Required method
    fn h3_compact_dataframe<S>(
        self,
        cell_column_name: S,
        return_exploded: bool,
    ) -> Result<Self, Error>
       where Self: Sized,
             S: AsRef<str>;
}

Required Methods§

Source

fn h3_compact_dataframe<S>( self, cell_column_name: S, return_exploded: bool, ) -> Result<Self, Error>
where Self: Sized, S: AsRef<str>,

Compact the cells in the column named cell_column_name.

This is done by first grouping the dataframe using all other columns and then compacting the list of cells of each group.

Implementations on Foreign Types§

Source§

impl H3CompactDataframe for DataFrame

Source§

fn h3_compact_dataframe<S>( self, cell_column_name: S, return_exploded: bool, ) -> Result<Self, Error>
where S: AsRef<str>,

Implementors§