Hướng dẫn dùng dataframe transpose python
Ngày đăng:
04/09/2022
Trả lời:
0
Lượt xem:
160
The transpose() function is used to transpose index and columns. Reflect the DataFrame over its main diagonal by writing rows as columns and vice-versa. Syntax: DataFrame.transpose(self, *args, **kwargs) Parameters:
Returns: DataFrame Example: Download the Pandas DataFrame Notebooks from here. Previous: DataFrame - T() function
|