Skip to content

Commit

Permalink
docs(python): Clarify Dataframe.corr operates on columns (#9678)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj authored Jul 2, 2023
1 parent 77c2dfd commit c811356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -8854,7 +8854,7 @@ def unnest(self, columns: str | Sequence[str], *more_columns: str) -> Self:
@typing.no_type_check
def corr(self, **kwargs: Any) -> DataFrame:
"""
Return Pearson product-moment correlation coefficients.
Return pairwise Pearson product-moment correlation coefficients between columns.
See numpy ``corrcoef`` for more information:
https://numpy.org/doc/stable/reference/generated/numpy.corrcoef.html
Expand Down

0 comments on commit c811356

Please sign in to comment.