Project the statistics to the given column indices. For example, if we had statistics for columns `{"a", "b", "c"}`, projecting to `vec![2, 1]` would return statistics for columns `{"c", "b"}`.
(self, projection: Option<&impl AsRef<[usize]>>)
| 487 | /// projecting to `vec![2, 1]` would return statistics for columns `{"c", |
| 488 | /// "b"}`. |
| 489 | pub fn project(self, projection: Option<&impl AsRef<[usize]>>) -> Self { |
| 490 | let projection = projection.map(AsRef::as_ref); |
| 491 | self.project_impl(projection) |
| 492 | } |
| 493 | |
| 494 | fn project_impl(mut self, projection: Option<&[usize]>) -> Self { |
| 495 | let Some(projection) = projection.map(AsRef::as_ref) else { |