Skip to content

->jvm on ndarray of type 'object' fails #187

Open

Activity

  1. behrica commented on Sep 24, 2022

    @behrica
    ContributorAuthor

    seems to work now:

    (require-python '[numpy])
    (py/->jvm
     (numpy/array [] :dtype :object))
    ;; => []
    
    
  2. cnuernber commented on Sep 24, 2022

    @cnuernber
    Collaborator

    I think it will still fail if you have the zero-copy bindings loaded.

  3. behrica commented on Sep 24, 2022

    @behrica
    ContributorAuthor

    Indeed, this still fails:

    (require-python '[numpy])
    (require '[libpython-clj2.python.np-array])
    (py/->jvm
     (numpy/array [] :dtype :object))
  4. added a commit that references this issue on Jun 23, 2026
    f68dc36
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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions