Skip to content

Commit 8eb95f9

Browse files
committed
Copy-paste typo correction for error
1 parent 04b9f2f commit 8eb95f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

narwhals/_arrow/namespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def _if_then_else(
256256

257257
def corr(self, a: ArrowExpr, b: ArrowExpr, *, method: CorrMethod) -> ArrowExpr:
258258
if method != "pearson":
259-
msg = "Only 'pearson' correlation is supported for Spark."
259+
msg = "Only 'pearson' correlation is supported for Pyarrow."
260260
raise NotImplementedError(msg)
261261

262262
def func(df: ArrowDataFrame) -> list[ArrowSeries]:

narwhals/_ibis/namespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def func(_df: IbisLazyFrame) -> list[ir.Value]:
145145

146146
def corr(self, a: IbisExpr, b: IbisExpr, *, method: CorrMethod) -> IbisExpr:
147147
if method != "pearson":
148-
msg = "Only 'pearson' correlation is supported for Spark."
148+
msg = "Only 'pearson' correlation is supported for Ibis."
149149
raise NotImplementedError(msg)
150150

151151
def func(_df: IbisLazyFrame) -> list[ir.Value]:

0 commit comments

Comments
 (0)