Last active
February 26, 2020 08:25
-
-
Save quantra-go-algo/22e7499ecff4d898ea7d2b73979323f7 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