-
-
Notifications
You must be signed in to change notification settings - Fork 141
gh-460: added 'TimestampSeries' in TimedeltaSeries in series.pyi #464
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
Conversation
tests/test_timefuncs.py
Outdated
tds = pd.Series(pd.timedelta_range(start="1 day", periods=10)) | ||
tss = pd.Series(pd.date_range(start="2012-01-01", periods=10, freq="W-MON")) | ||
plus = tds + tss | ||
check(assert_type(plus, "TimestampSeries"), pd.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.
can you add pd.Timestamp
as the last argument to check
Also change name to test_timedeltaseries_add_timestampseries
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.
Yes i'll do that
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.
This all looks good, but the CI failures on MacOS are something we need to investigate.
Yeah I'll look into it |
Sir I looked into it, it fails because of this |
We are not sure. I Just did a PR and those jobs had no issue, and there is nothing you changed that would cause them to fail. May have been a momentary hiccup in the CI. |
The same tests are failing again we have this |
Can you try this? Modify
then commit and push. |
yeah |
All these tests fail but in my local test |
That was a separate issue that I did a PR for on Friday, and just merged it. Do |
yes |
Done sir, it finishes off nicely |
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.
thanks @ramvikrams
Thanks sir |
assert_type()
to assert the type of any return value