Linear regression on python pandas library is performed on a time series data. Pandas datetime object conversion is also conducted in this post.