Skip to content

Update dtype handling in numpy_compat #6330

Closed

Description

@TomAugspurger

np.divide(0.4, 1, casting="unsafe", dtype=np.float),

  /Users/taugspurger/Envs/pandas-dev/lib/python3.7/site-packages/dask/array/numpy_compat.py:23: DeprecationWarning: `np.float` is a deprecated alias for the builtin `float`. Use `float` by itself, which is identical in behavior, to silence this warning. If you specifically wanted the numpy scalar type, use `np.float_` here.
    np.divide(0.4, 1, casting="unsafe", dtype=np.float),

Will add more details later.

Activity

  1. eric-wieser commented on Jun 30, 2020

    @eric-wieser

    Introduced by numpy/numpy#14882

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions