Skip to content

Instantly share code, notes, and snippets.

@alexrios22
Created November 22, 2020 21:59
Show Gist options
  • Save alexrios22/608f8f78ed5824272de12828a663fecb to your computer and use it in GitHub Desktop.
Save alexrios22/608f8f78ed5824272de12828a663fecb to your computer and use it in GitHub Desktop.
SeasonalDecomposeMoth.ibpynb
Monthly_Returns = ratesD.groupby([ratesD.index.year.rename('year'),
ratesD.index.month.rename('month')]
).median().to_frame("Returns")
Monthly_Returns.boxplot(by='month', figsize=(16, 8));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment