H3UncompactDataframe

Trait H3UncompactDataframe 

Source
pub trait H3UncompactDataframe {
    // Required methods
    fn h3_uncompact_dataframe<S>(
        self,
        cell_column_name: S,
        target_resolution: u8,
    ) -> Result<Self, Error>
       where Self: Sized,
             S: AsRef<str>;
    fn h3_uncompact_dataframe_subset<S>(
        self,
        cell_column_name: S,
        target_resolution: u8,
        subset: &H3CellSet,
    ) -> Result<Self, Error>
       where Self: Sized,
             S: AsRef<str>;

    // Provided method
    fn h3_uncompact_dataframe_subset_iter<S, I>(
        self,
        cell_column_name: S,
        target_resolution: u8,
        subset: I,
    ) -> Result<Self, Error>
       where Self: Sized,
             S: AsRef<str>,
             I: IntoIterator,
             I::Item: Borrow<H3Cell> { ... }
}

Required Methods§

Source

fn h3_uncompact_dataframe<S>( self, cell_column_name: S, target_resolution: u8, ) -> Result<Self, Error>
where Self: Sized, S: AsRef<str>,

Uncompact the cells in the column named cell_column_name.

Implements the reverse of H3CompactDataframe.

Source

fn h3_uncompact_dataframe_subset<S>( self, cell_column_name: S, target_resolution: u8, subset: &H3CellSet, ) -> Result<Self, Error>
where Self: Sized, S: AsRef<str>,

Uncompact the cells in the column named cell_column_name while only returning the cells from the given subset.

Implements the reverse of H3CompactDataframe.

Provided Methods§

Source

fn h3_uncompact_dataframe_subset_iter<S, I>( self, cell_column_name: S, target_resolution: u8, subset: I, ) -> Result<Self, Error>
where Self: Sized, S: AsRef<str>, I: IntoIterator, I::Item: Borrow<H3Cell>,

Uncompact the cells in the column named cell_column_name while only returning the cells from the given subset.

Implements the reverse of H3CompactDataframe.

Implementations on Foreign Types§

Source§

impl H3UncompactDataframe for DataFrame

Source§

fn h3_uncompact_dataframe<S>( self, cell_column_name: S, target_resolution: u8, ) -> Result<Self, Error>
where Self: Sized, S: AsRef<str>,

Source§

fn h3_uncompact_dataframe_subset<S>( self, cell_column_name: S, target_resolution: u8, subset: &H3CellSet, ) -> Result<Self, Error>
where Self: Sized, S: AsRef<str>,

Implementors§