Skip to content

PERF/REF: Construct series faster in numba apply #56048

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

Merged
merged 2 commits into from
Nov 19, 2023

Conversation

lithomas1
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

This also gets rid of the usage of the deprecated fastpath argument.

In the no-op case (e.g. the UDF is lambda x: x), we go from 300ms to 200ms.

@lithomas1 lithomas1 added Performance Memory or execution speed performance numba numba-accelerated operations labels Nov 18, 2023
@mroeschke mroeschke added this to the 2.2 milestone Nov 19, 2023
@mroeschke mroeschke merged commit 4514636 into pandas-dev:main Nov 19, 2023
@mroeschke
Copy link
Member

Thanks @lithomas1

@lithomas1 lithomas1 deleted the numba-perf branch November 19, 2023 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
numba numba-accelerated operations Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants