pandas: ENH/BUG: support TimedeltaIndex plotting

This raises

s = Series(range(5),pd.timedelta_range('1day',periods=5))
s.plot()

This will show the timedeltas with a formatted (albeit string index)

s.index = s.index.format()
s.plot()

wonder if we can just register a converter somehow? like #8614

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Reactions: 1
  • Comments: 31 (29 by maintainers)

Commits related to this issue

Most upvoted comments

As a workaround, the following works with master:

plt.plot(s.index,s.values)

@sam-cohan yes it will be in 0.20.0

I think we are still about 1 month away from an rc.

@sam-cohan As you can see, the issue is still open, so it’s indeed not yet solved. But any help is certainly welcome!