Transpose - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


DataFrame/Transpose

transpose a DataFrame

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Transpose( df )

df ^ +

df ^ %T

Parameters

df

-

: DataFrame : the DataFrame to be transposed

Description

• 

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.

• 

Transposedf can also be entered as df+ or as df%T.

Examples

dfDataFrame1|2|3,4|5|6,rows=a,b,columns=A,B,C

dfABCa123b456

(1)

df2:-Transposedf

df2abA14B25C36

(2)

dfb,A

4

(3)

df2A,b

4

(4)

Transpose also has two alternative calling sequences:

df%T

abA14B25C36

(5)

df%T

abA14B25C36

(6)

Compatibility

• 

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]