I have a pandas DataFrame that has multiple columns in it:
DataFrame
Index: 239897 entries, 2012-05-11 15:20:00 to 2012-06-02 23:44:51 Data columns: foo
Try this:
pandas.concat([df['foo'].dropna(), df['bar'].dropna()]).reindex_like(df)
If you want that data to become the new column bar, just assign the result to df['bar'].
bar
df['bar']