Skip to content

Commit

Permalink
Add code blocks for column_selections.rs to make the docs run
Browse files Browse the repository at this point in the history
Temporary fix as with the missing blocks the docs refuse to compile
and serve. And the selectors are not available in rust:

pola-rs/polars#10594
  • Loading branch information
Atreyagaurav committed Aug 29, 2023
1 parent 228c159 commit 2ab17bd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/src/rust/user-guide/expressions/column_selections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,39 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("{}", &out);
// --8<-- [end:expansion_by_dtype]

// --8<-- [start:selectors_intro]
// Not available in Rust, refer the following link
// https://github.com/pola-rs/polars/issues/10594
// --8<-- [end:selectors_intro]

// --8<-- [start:selectors_diff]
// Not available in Rust, refer the following link
// https://github.com/pola-rs/polars/issues/10594
// --8<-- [end:selectors_diff]

// --8<-- [start:selectors_union]
// Not available in Rust, refer the following link
// https://github.com/pola-rs/polars/issues/10594
// --8<-- [end:selectors_union]

// --8<-- [start:selectors_by_name]
// Not available in Rust, refer the following link
// https://github.com/pola-rs/polars/issues/1059
// --8<-- [end:selectors_by_name]

// --8<-- [start:selectors_to_expr]
// Not available in Rust, refer the following link
// https://github.com/pola-rs/polars/issues/10594
// --8<-- [end:selectors_to_expr]

// --8<-- [start:selectors_is_selector_utility]
// Not available in Rust, refer the following link
// https://github.com/pola-rs/polars/issues/10594
// --8<-- [end:selectors_is_selector_utility]

// --8<-- [start:selectors_colnames_utility]
// Not available in Rust, refer the following link
// https://github.com/pola-rs/polars/issues/10594
// --8<-- [end:selectors_colnames_utility]
Ok(())
}

0 comments on commit 2ab17bd

Please sign in to comment.