Saturday, 31 August 2013

How to rename a column of a pandas.core.series.TimeSeries object?

How to rename a column of a pandas.core.series.TimeSeries object?

Substracting the 'Settle' column of a pandas.core.frame.DataFrame from the
'Settle' column of another pandas.core.frame.DataFrame resulted in a
pandas.core.series.TimeSeries object (the 'subs' object).
Now, when I plot subs and add a legend, it reads 'Settle'.
How can I change the name of a column of a pandas.core.series.TimeSeries
object?
thank you.

No comments:

Post a Comment