Is it possible to build a statistical time series with dates in Siborn

I am trying to build a statistical time series using Seaborn, but I cannot figure out how to figure it out. I tried using methods lmplotand tsplot, but obviously some key is missing.

import pandas as pd
import seaborn as sns
import matplotlib.pyplot as pylab

p = pd.DataFrame({
    "date": pd.date_range('1/1/2015', periods = 12),
    "values":range(1,13)
})

# Regular Matplotlib  (via pandas) works
p.plot(x = "date", style = 'o--')

# Can't get lmplot to work
sns.lmplot(x = "date", y = "values", data = p)

# Can't get tsplot to work either
sns.tsplot(time = "date", value = "values", data = p)
+4
source share
1 answer

Sorry, I can’t add this as a comment, as I am not highly rated.

I recently tackled timings, and the following SO post was pretty much the same as yours, with the same confidence interval question:

Building time series data with a seabed

+2
source

All Articles