diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b1f0ad8eda2aa..039c287189a6c 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -528,7 +528,7 @@ class DataFrame(NDFrame, OpsMixin): >>> from dataclasses import make_dataclass >>> Point = make_dataclass("Point", [("x", int), ("y", int)]) >>> pd.DataFrame([Point(0, 0), Point(0, 3), Point(2, 3)]) - x y + x y 0 0 0 1 0 3 2 2 3