diff --git a/pandas/core/base.py b/pandas/core/base.py index cfa8d25210129..38a8bf7171521 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -687,8 +687,9 @@ def transpose(self, *args, **kwargs): T = property( transpose, - doc="""\nReturn the transpose, which is by - definition self.\n""", + doc=""" + Return the transpose, which is by definition self. + """, ) @property