Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Index.T#

propertyIndex.T[source]#

Return the transpose, which is by definition self.

Examples

For Series:

>>>s=pd.Series(['Ant','Bear','Cow'])>>>s0     Ant1    Bear2     Cowdtype: object>>>s.T0     Ant1    Bear2     Cowdtype: object

For Index:

>>>idx=pd.Index([1,2,3])>>>idx.TIndex([1, 2, 3], dtype='int64')
On this page

[8]ページ先頭

©2009-2025 Movatter.jp