how to convert a pandas dataframe into a timeseries?,df.unstack()