Skip to content

Instantly share code, notes, and snippets.

@glamp
Created July 5, 2016 20:18
Show Gist options
  • Save glamp/49cd60de75ad0b927ab62477c894558f to your computer and use it in GitHub Desktop.
Save glamp/49cd60de75ad0b927ab62477c894558f to your computer and use it in GitHub Desktop.
ggplot(df, aes(x='date', y='pd.rolling_mean(value, 12)')) + \
geom_line() + \
facet_wrap("variable", scales="free")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment