pub fn sort_in_place(&mut self, by_column: &str, reverse: bool) -> Result<&mut Self> {
        let s = self.column(by_column)?;

        let take = s.argsort(reverse);

        self.columns = self.columns.par_iter().map(|s| s.take(&take)).collect();
        Ok(self)
    }
/// Sort DataFrame in place by a column.
Sort DataFrame in place by a column.
Sort DataFrame in place by a column .
pub fn sort_in_place(&mut self, by_column: &str, reverse: bool) -> Result<&mut Self> {
        let s = self.column(by_column)?;
        let take = s.argsort(reverse);
        self.columns = self.columns.par_iter().map(|s| s.take(&take)).collect();
        Ok(self)
    }
pub fn sort_in_place ( & mut self , by_column : & str , reverse : bool ) -> Result < & mut Self > { let s = self . column ( by_column ) ? ; let take = s . argsort ( reverse ) ; self . columns = self . columns . par_iter ( ) . map ( | s | s . take ( & take ) ) . collect ( ) ; Ok ( self ) }
Sort DataFrame in place by a column.
Sort DataFrame in place by a column .
&mut self
by_column
&str
reverse
bool
&mut self
by_column
&str
reverse
bool