Skip to content

Commit

Permalink
fix docstring formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors committed Sep 9, 2024
1 parent 5dc4300 commit 7a26479
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion narwhals/stable/v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion narwhals/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a26479

Please sign in to comment.