Skip to content

Instantly share code, notes, and snippets.

@kaizer1v
Last active May 22, 2019 02:59
Show Gist options
  • Save kaizer1v/7cf857eb0626663facda475d054b0fc0 to your computer and use it in GitHub Desktop.
Save kaizer1v/7cf857eb0626663facda475d054b0fc0 to your computer and use it in GitHub Desktop.
Pandas - Generate a list of Date Range
import pandas as pd
# will generate dates between the two dates, every 4 years
pd.date_range('01/01/1930', '01/01/2018', freq=pd.DateOffset(years=4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment