Skip to content

Commit

Permalink
Rust Comment Readability Fixes (#3662)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Russell <git@ryanrussell.org>
  • Loading branch information
ryanrussell committed Jun 11, 2022
1 parent 50e54fb commit f5ba137
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions polars/src/docs/eager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
//! })
//! .collect()
//! }
//! _ => panic!("unpexptected dtypes"),
//! _ => panic!("unexpected dtypes"),
//! }
//! }
//! ```
Expand Down Expand Up @@ -403,7 +403,7 @@
//! ## Groupby
//!
//! Note that Polars lazy is a lot more powerful in and more performant in groupby operations.
//! In lazy a meriad of aggregations can be combined from expressions.
//! In lazy a myriad of aggregations can be combined from expressions.
//!
//! See more in:
//!
Expand Down
2 changes: 1 addition & 1 deletion polars/src/docs/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
//! ## Conditionally apply
//! If we want to create a new column based on some condition, we can use the `.when()/.then()/.otherwise()` expressions.
//!
//! * `when` - accepts a predicate epxression
//! * `when` - accepts a predicate expression
//! * `then` - expression to use when `predicate == true`
//! * `otherwise` - expression to use when `predicate == false`
//!
Expand Down
2 changes: 1 addition & 1 deletion polars/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
//! * `POLARS_TABLE_WIDTH` -> width of the tables used during DataFrame formatting.
//! * `POLARS_MAX_THREADS` -> maximum number of threads used to initialize thread pool (on startup).
//! * `POLARS_VERBOSE` -> print logging info to stderr
//! * `POLARS_NO_PARTITION` -> Polars may choose to partition the groupby operaiton, based on data
//! * `POLARS_NO_PARTITION` -> Polars may choose to partition the groupby operation, based on data
//! cardinality. Setting this env var will turn partitioned groupby's off
//! * `POLARS_PARTITION_SAMPLE_FRAC` -> how large chunk of the dataset to sample to determine cardinality,
//! defaults to `0.001`
Expand Down

0 comments on commit f5ba137

Please sign in to comment.