Skip to content

Commit

Permalink
Improve Typescript Readability (#3568)
Browse files Browse the repository at this point in the history
* Improve Typescript Readability

Signed-off-by: Ryan Russell <git@ryanrussell.org>

* Functions.ts fix horizontally

Signed-off-by: Ryan Russell <git@ryanrussell.org>
  • Loading branch information
ryanrussell committed Jun 4, 2022
1 parent a3a7fdf commit 1f10a2d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nodejs-polars/__tests__/lazyframe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe("lazyframe", () => {
project */2 columns | details: None;
selection: "None" `.replace(/\s+/g, " "));
});
test("describeOptimiziedPlan", () => {
test("describeOptimizedPlan", () => {
const df = pl.DataFrame({
"foo": [1, 2],
"bar": ["a", "b"]
Expand Down
2 changes: 1 addition & 1 deletion nodejs-polars/polars/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function repeat<V>(value: V, n: number, name= ""): Series {
* @param options.rechunk rechunk the final DataFrame/Series.
* @param options.how Only used if the items are DataFrames. *Defaults to 'vertical'*
* - Vertical: Applies multiple `vstack` operations.
* - Horizontal: Stacks Series horizontall and fills with nulls if the lengths don't match.
* - Horizontal: Stacks Series horizontally and fills with nulls if the lengths don't match.
*
* @example
* >>> const df1 = pl.DataFrame({"a": [1], "b": [3]})
Expand Down
2 changes: 1 addition & 1 deletion nodejs-polars/polars/lazy/dataframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export interface LazyDataFrame extends Serialize {
*/
fetch(numRows?: number): Promise<DataFrame>
fetch(numRows: number, opts: LazyOptions): Promise<DataFrame>
/** Behaves the same as fetch, but will perform the actions syncronously */
/** Behaves the same as fetch, but will perform the actions synchronously */
fetchSync(numRows?: number): DataFrame
fetchSync(numRows: number, opts: LazyOptions): DataFrame
/**
Expand Down
2 changes: 1 addition & 1 deletion nodejs-polars/polars/lazy/expr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ export interface Expr extends
upperBound(): Expr
/** Get variance. */
var(): Expr
/** Alais for filter: @see {@link filter} */
/** Alias for filter: @see {@link filter} */
where(predicate: Expr): Expr
}

Expand Down

0 comments on commit 1f10a2d

Please sign in to comment.