diff --git a/narwhals/stable/v1.py b/narwhals/stable/v1.py index 1af7a26f3..78cfa5ba1 100644 --- a/narwhals/stable/v1.py +++ b/narwhals/stable/v1.py @@ -1541,7 +1541,7 @@ def is_ordered_categorical(series: Series) -> bool: def maybe_align_index(lhs: T, rhs: Series | DataFrame[Any] | LazyFrame[Any]) -> T: """ - Align `lhs` to the Index of `rhs, if they're both pandas-like. + Align `lhs` to the Index of `rhs`, if they're both pandas-like. Notes: This is only really intended for backwards-compatibility purposes, diff --git a/narwhals/utils.py b/narwhals/utils.py index 6c1b5c1b4..ec3c722d4 100644 --- a/narwhals/utils.py +++ b/narwhals/utils.py @@ -153,7 +153,7 @@ def validate_laziness(items: Iterable[Any]) -> None: def maybe_align_index(lhs: T, rhs: Series | BaseFrame[Any]) -> T: """ - Align `lhs` to the Index of `rhs, if they're both pandas-like. + Align `lhs` to the Index of `rhs`, if they're both pandas-like. Notes: This is only really intended for backwards-compatibility purposes,