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

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

Open
41ow1ives opened this issue Mar 3, 2024 · 0 comments
Open

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

41ow1ives opened this issue Mar 3, 2024 · 0 comments
Labels
Bug Something isn't working Open for contribution This issue is waiting for your contribution

Comments

@41ow1ives
Copy link
Collaborator

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.

@41ow1ives 41ow1ives added Bug Something isn't working Open for contribution This issue is waiting for your contribution labels Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working Open for contribution This issue is waiting for your contribution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant