Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Dec 3, 2024
1 parent 71b1ac8 commit 3be67c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion narwhals/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def concat(
A new DataFrame, Lazyframe resulting from the concatenation.
Raises:
NotImplementedError: The items to concatenate should either all be eager, or all lazy
TypeError: The items to concatenate should either all be eager, or all lazy
Examples:
Let's take an example of vertical concatenation:
Expand Down
2 changes: 1 addition & 1 deletion narwhals/stable/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ def concat(
A new DataFrame, Lazyframe resulting from the concatenation.
Raises:
NotImplementedError: The items to concatenate should either all be eager, or all lazy
TypeError: The items to concatenate should either all be eager, or all lazy
Examples:
Let's take an example of vertical concatenation:
Expand Down
2 changes: 1 addition & 1 deletion tests/frame/invalid_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_native_vs_non_native() -> None:
def test_validate_laziness() -> None:
df = pl.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
with pytest.raises(
NotImplementedError,
TypeError,
match=("The items to concatenate should either all be eager, or all lazy"),
):
nw.concat([nw.from_native(df, eager_only=True), nw.from_native(df).lazy()]) # type: ignore[list-item]
Expand Down

0 comments on commit 3be67c1

Please sign in to comment.