GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
git diff upstream/master | flake8 --diff
pd.SparseArray([1, 2, np.nan]) > 0
# [True, True, nan]
# Fill: nan
# Indices: array([0, 1], dtype=int32)
# [True, True, False]
a = pd.SparseArray([1, 2, 0])
b = pd.SparseArray([0, 1, np.nan])
a > b
# ValueError: operands could not be broadcast together with shapes (3,) (2,)
ENH/BUG: Sparse now supports comparison op
Ok, fixed and now green.
thank you sir!
Author: sinhrks <firstname.lastname@example.org>
Closes pandas-dev#12971 from sinhrks/sparse_bool_test and squashes the following commits:
d57807c [sinhrks] ENH/BUG: Sparse now supports comparison op