Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Nice one. In my case i have to replace first statement by : s = df['date'].astype(str) + ' ' + df['time'].astype(str) or s = df['date'].map(str) + ' ' + df['time'].map(str) because csv data not in str format. Anyway thx. Commented Dec 7, 2017 at 16:48
  • 1
    Thanks! I also had the same issue, that I had to include 'astype(str)' for my "date" column. But otherwise it worked. Now to work out how to plot this! Commented Dec 7, 2017 at 17:14