What processing is involved in transposing a dataframe?
Sorry, I know this is more of a question (and maybe implementation/platform-specific) than anything else, so apologies if this is not the right venue.

Consider a large dataframe. Does transposing it trigger a full re-allocation of its data in memory? And if so, could that be improved?
