DataFrame/Transpose
transpose a DataFrame
Calling Sequence
Parameters
Description
Examples
Compatibility
Transpose( df )
df ^ +
df ^ %T
df
-
: DataFrame : the DataFrame to be transposed
The Transpose command creates a DataFrame that is the transpose of the input DataFrame df. That is, the rows of the output DataFrame are the columns of df, and the columns of the output DataFrame are the rows of df.
Transpose⁡df can also be entered as df+ or as df%T.
df≔DataFrame⁡1|2|3,4|5|6,rows=a,b,columns=A,B,C
df≔ABCa123b456
df2≔:-Transpose⁡df
df2≔abA14B25C36
dfb,A
4
df2A,b
Transpose also has two alternative calling sequences:
df%T
abA14B25C36
The DataFrame/Transpose command was introduced in Maple 2016.
For more information on Maple 2016 changes, see Updates in Maple 2016.
See Also
DataFrame
LinearAlgebra[Transpose]
Download Help Document