Skip to content

Conversation

@jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry
@jreback jreback added Sparse Sparse Data Type Numeric Operations Arithmetic, Comparison, and Logical operations labels Dec 17, 2021
# Match the non-Sparse Series behavior
if name == "floordiv":
# error: Module has no attribute "sparse_floordiv_float64"
sparse_op = splib.sparse_floordiv_float64 # type: ignore[attr-defined]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you re-assign like

opname = 'sparse_floordiv_float64 ` ? and move L225 below this ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea, will update

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated + green

@jreback jreback added this to the 1.4 milestone Dec 19, 2021
@jreback jreback merged commit 029ae81 into pandas-dev:master Dec 19, 2021
@jbrockmendel jbrockmendel deleted the bug-sparse-arith branch December 19, 2021 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Numeric Operations Arithmetic, Comparison, and Logical operations Sparse Sparse Data Type

2 participants