Skip to content

WARN: numpy warnings on operations #20011

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

Closed
jreback opened this issue Mar 6, 2018 · 0 comments · Fixed by #20484
Closed

WARN: numpy warnings on operations #20011

jreback opened this issue Mar 6, 2018 · 0 comments · Fixed by #20484
Labels
Blocker Blocking issue or pull request for an upcoming release Compat pandas objects compatability with Numpy or Python functions
Milestone

Comments

@jreback
Copy link
Contributor

jreback commented Mar 6, 2018

pandas/tests/frame/test_operators.py::TestDataFrameOperators::()::test_comparison_invalid
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise != comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise != comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise != comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))
  /home/travis/build/pandas-dev/pandas/pandas/core/indexes/base.py:104: DeprecationWarning: elementwise != comparison failed; this will raise an error in the future.
    result = op(self.values, np.asarray(other))

cc @jbrockmendel I think some recent changes exposed these (or they are new in numpy 1.14.1tons).

should not just catch these, rather handle intelligently. IIRC these are for a comparison of None

lots of warnings that need catchng / fixing: https://travis-ci.org/pandas-dev/pandas/jobs/349648610

@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label Mar 6, 2018
@jreback jreback added this to the 0.23.0 milestone Mar 6, 2018
@TomAugspurger TomAugspurger added the Blocker Blocking issue or pull request for an upcoming release label Mar 12, 2018
jreback added a commit that referenced this issue Mar 26, 2018
…ll-Nan slice in tests) (#20484)

* TST: test_nanops some parametrize & catch warnings (RuntimeWarning: All-NaN slice in tests)

* COMPAT: work around deprecation warning on non-equal dtype comparisons

closes #20011

* WARN: bincount minlength deprecation warning
javadnoorb pushed a commit to javadnoorb/pandas that referenced this issue Mar 29, 2018
…ll-Nan slice in tests) (pandas-dev#20484)

* TST: test_nanops some parametrize & catch warnings (RuntimeWarning: All-NaN slice in tests)

* COMPAT: work around deprecation warning on non-equal dtype comparisons

closes pandas-dev#20011

* WARN: bincount minlength deprecation warning
dworvos pushed a commit to dworvos/pandas that referenced this issue Apr 2, 2018
…ll-Nan slice in tests) (pandas-dev#20484)

* TST: test_nanops some parametrize & catch warnings (RuntimeWarning: All-NaN slice in tests)

* COMPAT: work around deprecation warning on non-equal dtype comparisons

closes pandas-dev#20011

* WARN: bincount minlength deprecation warning
kornilova203 pushed a commit to kornilova203/pandas that referenced this issue Apr 23, 2018
…ll-Nan slice in tests) (pandas-dev#20484)

* TST: test_nanops some parametrize & catch warnings (RuntimeWarning: All-NaN slice in tests)

* COMPAT: work around deprecation warning on non-equal dtype comparisons

closes pandas-dev#20011

* WARN: bincount minlength deprecation warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker Blocking issue or pull request for an upcoming release Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
2 participants