Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

🐛 [BUG] - Error while using polyglot code #20

@41ow1ives

Description

@41ow1ives

Environment Settings

  • JDK openjdk-11-jdk
  • Spark 3.5.0
  • Python 3.11.5

Reproduction

I had numpy error while using polyglot code here

raise AttributeError("module {!r} has no attribute " AttributeError: module 'numpy' has no attribute 'float'

Expected Behavior

It has to be worked.

Actual Behavior

According to this page, np.float is deprecated since Numpy version 1.20 and from version 1.24, using np.float or np.int is causing error.
So all the np.float or np.int has to be changed into builtin float or int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingOpen for contributionThis issue is waiting for your contribution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions