Skip to content

ENH: Replace Numba decorator #53449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 3 tasks
FrancescoMandru opened this issue May 30, 2023 · 1 comment · Fixed by #53455
Closed
1 of 3 tasks

ENH: Replace Numba decorator #53449

FrancescoMandru opened this issue May 30, 2023 · 1 comment · Fixed by #53455
Assignees
Labels
Compat pandas objects compatability with Numpy or Python functions numba numba-accelerated operations

Comments

@FrancescoMandru
Copy link

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

Using pandas 2.0.1 I noticed that when I use the engine numba during apply operations, I encounter a warning:

C:\Users\XXXXXXX: NumbaDeprecationWarning: numba.generated_jit is deprecated. Please see the documentation at: https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-generated-jit for more information and advice on a suitable replacement.
  warnings.warn(msg, NumbaDeprecationWarning)

Since the function that I'm using does not have any decorator relarted with numba but just use the numba engine in the pandas apply function, could it be something from your side to change for future versions?

Feature Description

Based on the link of numba, just change the decorator type

Alternative Solutions

No alternatives

Additional Context

No response

@FrancescoMandru FrancescoMandru added Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels May 30, 2023
@lithomas1 lithomas1 added Compat pandas objects compatability with Numpy or Python functions numba numba-accelerated operations and removed Enhancement Needs Triage Issue that has not been reviewed by a pandas team member labels May 30, 2023
@lithomas1 lithomas1 self-assigned this May 30, 2023
@lithomas1
Copy link
Member

Thanks for reporting this.
I'll have a look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions numba numba-accelerated operations
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants