Skip to content

Unnecessary upcasting to np.<u>int64 #412

Description

@cmalinmayor

Anywhere we call np.asarray() on an integer thing produces np.int64 dtype. I moved the _infer_integer_dtype() helper function into the utils.py and called it in construct_props to fix as much as possible within the scope of the repo, but we should examine other uses of this pattern.

Originally posted by @cmalinmayor in #407 (comment)

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions