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

dataframe should support all binary operators #83

Open
1 of 17 tasks
dustmop opened this issue Aug 23, 2021 · 0 comments
Open
1 of 17 tasks

dataframe should support all binary operators #83

dustmop opened this issue Aug 23, 2021 · 0 comments

Comments

@dustmop
Copy link
Contributor

dustmop commented Aug 23, 2021

Dataframes implement the PLUS operator, so client code can do:

df3 = df1 + df2

There are more binary operators that could be implemented, currently an error is returned for all others aside from PLUS.

The list of existing operators can be found here:
https://github.com/google/starlark-go/blob/master/internal/compile/compile.go

TODO list:

  • PLUS
  • LT
  • GT
  • GE
  • LE
  • EQL
  • NEQ
  • MINUS
  • STAR
  • SLASH
  • SLASHSLASH
  • PERCENT
  • AMP
  • PIPE
  • CIRCUMFLEX
  • LTLT
  • GTGT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant