Return a transposed view on this array. Because ExtensionArrays are always 1D, this is a no-op. It is included for compatibility with np.ndarray. Returns ------- ExtensionArray Examples -------- >>> pd.array([1, 2, 3]).tran
(self, *axes: int)
| 2154 | # ------------------------------------------------------------------------ |
| 2155 | |
| 2156 | def transpose(self, *axes: int) -> Self: |
| 2157 | """ |
| 2158 | Return a transposed view on this array. |
| 2159 | |
| 2160 | Because ExtensionArrays are always 1D, this is a no-op. It is included |
| 2161 | for compatibility with np.ndarray. |
| 2162 | |
| 2163 | Returns |
| 2164 | ------- |
| 2165 | ExtensionArray |
| 2166 | |
| 2167 | Examples |
| 2168 | -------- |
| 2169 | >>> pd.array([1, 2, 3]).transpose() |
| 2170 | <IntegerArray> |
| 2171 | [1, 2, 3] |
| 2172 | Length: 3, dtype: Int64 |
| 2173 | """ |
| 2174 | return self[:] |
| 2175 | |
| 2176 | @property |
| 2177 | def T(self) -> Self: |