Skip to content

np.append discards units #88

Open
Open

Description

@p2jones

Example:

import numpy as np
import quantities as pq
np.append(1 * pq.s, 2 * pq.s)

returns:
array([ 1., 2.]) * dimensionless

Activity

  1. added
    bug
    numpy-integration
    on Nov 17, 2026
  2. 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