Skip to content

ValueError: ufunc <ufunc 'sign'> not supported by quantities #114

Open

Description

@mjfwest

ValueError: ufunc <ufunc 'sign'> not supported by quantities
as request I have filed a bug report at https://github.com/python-quantities

Activity

  1. sanjayankur31 commented on Aug 30, 2017

    @sanjayankur31

    Duplicate of #129 that has been fixed already.

  2. twmr commented on Aug 20, 2019

    @twmr
    Contributor

    No, this is still not fixed: (py3.8)

    ----> 1 np.sign(3*pq.um)
    
    ~/gitrepos/python-quantities/quantities/quantity.py in __array_prepare__(self, obj, context)
        247             res._dimensionality = p_dict[uf](*objs)
        248         except KeyError:
    --> 249             raise ValueError(
        250                 """ufunc %r not supported by quantities
        251                 please file a bug report at https://github.com/python-quantities
    
    ValueError: ufunc <ufunc 'sign'> not supported by quantities
                    please file a bug report at https://github.com/python-quantities
                    
    
  3. added
    bug
    numpy-integration
    on Nov 17, 2026
  4. added this to the 0.18.0 milestone on Nov 17, 2026
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

    bugnumpy-integration

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions