-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Index constructor take Series or Index objects. #2071
Conversation
Looks great, thank you! |
Codecov Report
@@ Coverage Diff @@
## master #2071 +/- ##
==========================================
- Coverage 94.68% 94.53% -0.15%
==========================================
Files 55 55
Lines 11718 11747 +29
==========================================
+ Hits 11095 11105 +10
- Misses 623 642 +19
Continue to review full report at Codecov.
|
Thanks! merging. |
@@ -81,12 +81,18 @@ class DatetimeIndex(Index): | |||
>>> ks.DatetimeIndex(['1970-01-01', '1970-01-01', '1970-01-01']) | |||
DatetimeIndex(['1970-01-01', '1970-01-01', '1970-01-01'], dtype='datetime64[ns]', freq=None) | |||
|
|||
From a Seires: | |||
From a Series: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a great catch! :)
Makes
Index
constructor takeSeries
orIndex
objects.