I have a Pandas Dataframe like below:
UNDERLAY TIME
27,395 09:15:18
27,466 09:17:19
27,391 09:19:06
27,409 09:21:19
27,439 09:23:21
27,468 09:25:58
27,497 09:27:19
27,502 09:29:54
27,542 09:31:19
27,522 09:33:33
27,520 09:35:09
...
I want to plot the trend line of these UNDERLAY
values and calculate the Slope with X-Axis.
Got some help from below link but unable to find the slope: How can I draw scatter trend line on matplot? Python-Pandas