Skip to content

Commit 51faf57

Browse files
committed
FIX: Use raw string for DataFrame.items docstring to handle backslashes
1 parent 031ac50 commit 51faf57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ def style(self) -> Styler:
14731473
"""
14741474

14751475
def items(self) -> Iterable[tuple[Hashable, Series]]:
1476-
"""
1476+
r"""
14771477
Iterate over (column name, Series) pairs.
14781478
14791479
Iterates over the DataFrame columns, returning a tuple with

0 commit comments

Comments
 (0)