KnowledgeBoat Logo
|

Informatics Practices

Which attribute of dataframe is used to perform the transpose operation on a dataframe?

  1. T
  2. Ndim
  3. Empty
  4. Shape

Python Data Handling

2 Likes

Answer

T

Reason — The T attribute of DataFrame is used to perform transpose operation on a DataFrame. The syntax is : <DataFrame>.T.

Answered By

3 Likes


Related Questions