Skip to content

Complete list of functions that lose units #10845

Closed

Description

@astrojuanlu

you are right that we should add [np.full] to the known issues. One similarly cannot do np.zeros, np.ones, and np.empty.

Originally posted by @mhvk in #10836 (comment)

The list in question: https://docs.astropy.org/en/latest/known_issues.html#quantities-lose-their-units-with-some-operations

Activity

  1. rpsfonseca commented on Oct 13, 2020

    @rpsfonseca
    Contributor

    I'd like to work on this. I understand that we must add np.full to the list mentioned here. But by saying

    One similarly cannot do np.zeros, np.ones, and np.empty

    means those should be also added to the list?

  2. pllim commented on Oct 13, 2020

    @pllim
    Member

    Yes. Thank you, @rpsfonseca !

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions