Created
February 21, 2020 08:12
-
-
Save quantra-go-algo/41bcf4759ee332f431ddc9089d9b4d46 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#Creating a Time Series with duplicated indices | |
datesdup = [datetime(2018, 1, 1), datetime(2018, 1, 2), datetime(2018, 1, 2), datetime(2018, 1, 2), datetime(2018, 1, 3)] | |
dup_ts = pd.Series(np.random.randn(5), index=datesdup) | |
dup_ts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment