Skip to content

Instantly share code, notes, and snippets.

@selva86
Created June 7, 2021 09:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save selva86/c0adc52c43c441a207022ced0c611a9e to your computer and use it in GitHub Desktop.
Save selva86/c0adc52c43c441a207022ced0c611a9e to your computer and use it in GitHub Desktop.
# input
import pandas as pd
import numpy as np
ts = pd.Series(np.arange(20), pd.date_range('2001-01-01', periods=20, freq='2d'), name="values")
ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment