Skip to content

Commit 66ada8c

Browse files
clemens-tolboomTomAugspurger
authored andcommitted
Linebreak is bleeding into the documentation page (pandas-dev#27708)
* Linebreak is bleeding into the documentation page https://pandas.pydata.org/pandas-docs/stable/reference/series.html <tr class="row-even"><td><a class="reference internal" href="api/pandas.Series.T.html#pandas.Series.T" title="pandas.Series.T"><code class="xref py py-obj docutils literal notranslate"><span class="pre">Series.T</span></code></a></td> <td>Return the transpose, which is by</td> </tr> And looks weird on https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.T.html#pandas.Series.T * Make \n real new line As suggested by @TomAugspurger
1 parent 3fccf6a commit 66ada8c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/base.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -687,8 +687,9 @@ def transpose(self, *args, **kwargs):
687687

688688
T = property(
689689
transpose,
690-
doc="""\nReturn the transpose, which is by
691-
definition self.\n""",
690+
doc="""
691+
Return the transpose, which is by definition self.
692+
""",
692693
)
693694

694695
@property

0 commit comments

Comments
 (0)