Skip to content

Commit

Permalink
docstring fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockmendel committed Oct 3, 2023
1 parent 939e4f8 commit 34a827e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pandas/core/arrays/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1707,6 +1707,13 @@ def transpose(self, *axes: int) -> ExtensionArray:
Returns
-------
ExtensionArray
Examples
--------
>>> pd.array([1, 2, 3]).transpose()
<IntegerArray>
[1, 2, 3]
Length: 3, dtype: Int64
"""
return self[:]

Expand Down

0 comments on commit 34a827e

Please sign in to comment.