Skip to content

Commit 63df437

Browse files
authored
Fixing indentation of example of DataFrame (#40544)
1 parent 029907c commit 63df437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ class DataFrame(NDFrame, OpsMixin):
528528
>>> from dataclasses import make_dataclass
529529
>>> Point = make_dataclass("Point", [("x", int), ("y", int)])
530530
>>> pd.DataFrame([Point(0, 0), Point(0, 3), Point(2, 3)])
531-
x y
531+
x y
532532
0 0 0
533533
1 0 3
534534
2 2 3

0 commit comments

Comments
 (0)