I have a data-frame that looks like this:
Date_1 | Date_2 | Date_Diff |
---|---|---|
2017-02-14 | 2017-03-09 | 23 days |
2019-07-16 | 2019-09-09 | 55 days |
2014-10-29 | 2018-04-06 | 1255 days |
where Date_1 & Date_2 are datetime objects and Date_Diff is a timedelta variable representing the difference between the two dates. I want to plot the frequency of my Date_Diff variable (e.g: how often is the gap between date_1 and date_2 = x), so I created a simply time series plot:
df_final['Date_Diff'].plot(label='Original',color='orange')
plt.show()
and I got the following plot:
However, I don't feel like I did it correctly because my y-axis contains negative values? Can someone please explain to me what my plot is saying and/or how I can fix it?
Thanks