bigframes.pandas.DataFrame.T#
- property DataFrame.T: DataFrame#
The transpose of the DataFrame.
All columns must be the same dtype (numerics can be coerced to a common supertype).
Examples:
>>> df = bpd.DataFrame({'col1': [1, 2], 'col2': [3, 4]}) >>> df col1 col2 0 1 3 1 2 4 [2 rows x 2 columns]
>>> df.T 0 1 col1 1 2 col2 3 4 [2 rows x 2 columns]
- Returns:
The transposed DataFrame.
- Return type: