Skip to content
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

Operator overloading #16

Closed
CommonClimate opened this issue Jan 19, 2023 · 1 comment
Closed

Operator overloading #16

CommonClimate opened this issue Jan 19, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request priority_medium medium priority issue

Comments

@CommonClimate
Copy link
Contributor

Dixit @fzhu2e :

One capability that pandas has, I’ve been thinking for a while, is the operator overloading to support convenient basic calculations between two series, such as +, -, *, /. [We might use this to conveniently] create a MultipleSeries from multiple Series objects like ms = ts1 & ts2 & ts3 (combining three Series into a MultipleSeries) and ms2 = ms1 - ts (removing a Series from a MultipleSeries object).
(edited by JEG)

@CommonClimate
Copy link
Contributor Author

I think we are done with the code+test for those, but not the docstrings. For instance, I can't tell the difference between & and +, and I was not able to make the - method work with the ms -label syntax. Examples would be great! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority_medium medium priority issue
Projects
Development

No branches or pull requests

3 participants