Skip to content

Commit

Permalink
Minor docs updates (#4173)
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jul 29, 2022
1 parent 57cc243 commit 992da40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion py-polars/docs/source/reference/expression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ Aggregation
Expr.list
Expr.max
Expr.mean
Expr.mean
Expr.median
Expr.min
Expr.product
Expand Down
6 changes: 3 additions & 3 deletions py-polars/polars/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ def from_records(
orient: Literal["col", "row"] | None = None,
) -> DataFrame:
"""
Construct a DataFrame from a numpy ndarray or sequence of sequences.
Construct a DataFrame from a sequence of sequences.
Note that this is slower than creating from columnar memory.
Parameters
----------
data : numpy ndarray or Sequence of sequences
Two-dimensional data represented as numpy ndarray or sequence of sequences.
data : Sequence of sequences
Two-dimensional data represented as a sequence of sequences.
columns : Sequence of str, default None
Column labels to use for resulting DataFrame. Must match data dimensions.
If not specified, columns will be named `column_0`, `column_1`, etc.
Expand Down

0 comments on commit 992da40

Please sign in to comment.