pub fn take<T: AsTakeIndex + Sync>(&self, indices: &T) -> Self {
        let new_col = self.columns.par_iter().map(|s| s.take(indices)).collect();

        DataFrame::new_no_checks(new_col)
    }
/// Take DataFrame rows by index values.
///
/// # Example
///
/// ```
/// use polars::prelude::*;
/// fn example(df: &DataFrame) -> DataFrame {
///     let idx = vec![0, 1, 9];
///     df.take(&idx)
/// }
/// ```
/// # Safety
///
/// Out of bounds access doesn't Error but will return a Null value
Take DataFrame rows by index values.
Take DataFrame rows by index values .
pub fn take<T: AsTakeIndex + Sync>(&self, indices: &T) -> Self {
        let new_col = self.columns.par_iter().map(|s| s.take(indices)).collect();
        DataFrame::new_no_checks(new_col)
    }
pub fn take < T : AsTakeIndex + Sync > ( & self , indices : & T ) -> Self { let new_col = self . columns . par_iter ( ) . map ( | s | s . take ( indices ) ) . collect ( ) ; DataFrame :: new_no_checks ( new_col ) }
Take DataFrame rows by index values.
Take DataFrame rows by index values .
&self
indices
&T
&self
indices
&T
example
None
safety
Out of bounds access doesn't Error but will return a Null value
Out of bounds access doesn ' t Error but will return a Null value