Last active
May 22, 2019 02:59
-
-
Save kaizer1v/7cf857eb0626663facda475d054b0fc0 to your computer and use it in GitHub Desktop.
Pandas - Generate a list of Date Range
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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