[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: How to transpose columns into rows?

From   ZoeW <>
Subject   st: How to transpose columns into rows?
Date   Mon, 24 Aug 2009 19:25:45 -0700 (PDT)

How to transpose column into row? 

I have 2 variables (in column) with 10 observations (rows). They are all strings. Now I want to transpose them. Tried xpose, but all the strings were turned into missing. I want to keep the strings as is. 


Column1              C2              
Name                 XXYY         
YEAR                  37
Gender               female

I want to change them into 
Name              Year               Gender    
XXYY               37                female


*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index