DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
flip exis in dataframe
>>> df1_transposed = df1.T # or df1.transpose() >>> df1_transposed 0 1 col1 1 2 col2 3 4
Source by pandas-docs.github.io #
PREVIOUS
NEXT
Tagged:
#flip
#exis
#dataframe
ADD COMMENT
Topic
COMMENT
Name
3+3 =
Submit