3 ms·
>DuckDB produces Pandas dataframes, so you would just do df.T. No need to choose between one the other. Transforming into a pandas df isn't zero copy. UNPIVOT
by nojito 4y ago
>DuckDB produces Pandas dataframes, so you would just do df.T. No need to choose between one the other.
Transforming into a pandas df isn't zero copy.
UNPIVOT and PIVOT are quite verbose compared to df.T.