Skip to content

Commit

Permalink
Fix typos (#3488)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrussell committed May 25, 2022
1 parent 94b40f2 commit 51ef4ce
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion nodejs-polars/polars/dataframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ export interface DataFrame extends Arithmetic<DataFrame>, Sample<DataFrame>, Wri
* 1
* 3
* ]
* >>> // A horizontal string concattenation
* >>> // A horizontal string concatenation
* >>> df = pl.DataFrame({
* >>> "a": ["foo", "bar", 2],
* >>> "b": [1, 2, 3],
Expand Down
4 changes: 2 additions & 2 deletions nodejs-polars/polars/shared_traits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,13 +269,13 @@ export interface Round<T> {
*/
floor(): T;
/**
* Ceil underlying floating point array to the heighest integers smaller or equal to the float value.
* Ceil underlying floating point array to the highest integers smaller or equal to the float value.
* Only works on floating point Series
*/
ceil(): T;

/**
* Clip (limit) the values in an array to any value that fits in 64 floating poitns range.
* Clip (limit) the values in an array to any value that fits in 64 floating point range.
* Only works for the following dtypes: {Int32, Int64, Float32, Float64, UInt32}.
* If you want to clip other dtypes, consider writing a when -> then -> otherwise expression
* @param min Minimum value
Expand Down
2 changes: 1 addition & 1 deletion polars/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ json = ["polars-io", "polars-io/json"]
# support for arrows ipc file parsing
ipc = ["polars-io", "polars-io/ipc", "polars-lazy/ipc"]

# support for appache avro file parsing
# support for apache avro file parsing
avro = ["polars-io", "polars-io/avro"]

# support for arrows csv file parsing
Expand Down
4 changes: 2 additions & 2 deletions py-polars/polars/internals/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@ def kurtosis(self, fisher: bool = True, bias: bool = True) -> "Expr":

def clip(self, min_val: Union[int, float], max_val: Union[int, float]) -> "Expr":
"""
Clip (limit) the values in an array to any value that fits in 64 floating poitns range.
Clip (limit) the values in an array to any value that fits in 64 floating point range.
Only works for the following dtypes: {Int32, Int64, Float32, Float64, UInt32}.
Expand Down Expand Up @@ -2911,7 +2911,7 @@ def cumulative_eval(
that visit all elements.
.. warning::
This API is exprerimental and may change without it being considered a breaking change.
This API is experimental and may change without it being considered a breaking change.
Parameters
----------
Expand Down
4 changes: 2 additions & 2 deletions py-polars/polars/internals/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4428,7 +4428,7 @@ def lazy(self: DF) -> "pli.LazyFrame[DF]":
* `.collect()` (run on all data)
* `.describe_plan()` (print unoptimized query plan)
* `.describe_optimized_plan()` (print optimized query plan)
* `.show_graph()` (show (un)optimized query plan) as graphiz graph)
* `.show_graph()` (show (un)optimized query plan) as graphviz graph)
Lazy operations are advised because they allow for query optimization and more parallelization.
"""
Expand Down Expand Up @@ -5051,7 +5051,7 @@ def fold(
3
]
A horizontal string concattenation:
A horizontal string concatenation:
>>> df = pl.DataFrame(
... {
Expand Down
4 changes: 2 additions & 2 deletions py-polars/polars/internals/lazy_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def show_graph(
raw_output
Return dot syntax. This cannot be combined with `show`
figsize
Passed to matlotlib if `show` == True.
Passed to matplotlib if `show` == True.
"""
if raw_output:
show = False
Expand Down Expand Up @@ -624,7 +624,7 @@ def fetch(
no_optimization
Turn off optimizations.
slice_pushdown
Slice pushdown opitmizaiton
Slice pushdown optimization
Returns
-------
Expand Down
4 changes: 2 additions & 2 deletions py-polars/polars/internals/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ def cumulative_eval(
that visit all elements.
.. warning::
This API is exprerimental and may change without it being considered a breaking change.
This API is experimental and may change without it being considered a breaking change.
Parameters
----------
Expand Down Expand Up @@ -3444,7 +3444,7 @@ def kurtosis(self, fisher: bool = True, bias: bool = True) -> Optional[float]:

def clip(self, min_val: Union[int, float], max_val: Union[int, float]) -> "Series":
"""
Clip (limit) the values in an array to any value that fits in 64 floating poitns range.
Clip (limit) the values in an array to any value that fits in 64 floating point range.
Only works for the following dtypes: {Int32, Int64, Float32, Float64, UInt32}.
Expand Down

0 comments on commit 51ef4ce

Please sign in to comment.