Home > Blockchain >  Pandas' Series.plot() stacks disjoint segments instead of adjoining them
Pandas' Series.plot() stacks disjoint segments instead of adjoining them

Time:01-16

I'm following the video from enter image description here

Index as string:

enter image description here

Demonstration:

enter image description here

CodePudding user response:

To add to @Corralien's answer, I could also modify my read_csv call to pass parse_dates = True to automatically parse values as dates in the index column:

fb = pd.read_csv("C:\\Users\\me\\Downloads\\META.csv", index_col = 'Date', parse_dates = True)
  • Related