-
-
Notifications
You must be signed in to change notification settings - Fork 154
feat(arithmetic): ✖️ multiplication #1397
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
feat(arithmetic): ✖️ multiplication #1397
Conversation
|
Will await your ping for the review. |
f1acc37 to
19191a4
Compare
19191a4 to
9c802b4
Compare
cmp0xff
left a comment
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.
Dr-Irv
left a comment
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.
Should tests be added that make sure that if a str is used in multiplication, we catch that as invalid? And that both Series[str] and Index[str] with multiplication are caught as well?
This is in pretty good shape. I think you are missing some tests on Index[Any] with multiplication.
cmp0xff
left a comment
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.
Tests for Series[str] * num and Index[str] * num added in 6cf48fc
|
/pyright_strict |
|
/pandas_nightly |
|
/mypy_nightly |
|
In
|
|
Yes |
|
/pandas_nightly |
cmp0xff
left a comment
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.
- pandas nightly: also fixed with fb97790
- multiplying with "str": caught with
test_mul_str_py_str(both for Series and Index)
cmp0xff
left a comment
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.
/pandas_nightly
|
/pandas_nightly |
|
@cmp0xff I think this is good to go. Let me know if there are any other changes you intend to make. |
Dr-Irv
left a comment
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 @cmp0xff
This reverts commit 5da6b1c.
Revert "fix(comment): pandas-dev/pandas#62595 #1397 (comment)" This reverts commit 5da6b1c.
__mul__,mul, etc. inSeriesTimedeltaIndexandDatetimeIndex#1378