From 5b0ab41772f92eaa0325cfa484dd299208e76b5f Mon Sep 17 00:00:00 2001 From: Julian Smidek Date: Sat, 20 Mar 2021 19:03:09 +0100 Subject: [PATCH] Fixing indentation of example of DataFrame --- pandas/core/frame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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