Skip to content

Conversation

lukemanley
Copy link
Member

Perf improvement in ArrowExtensionArray.isna when array has zero nulls or is all nulls.

ASV added for DataFrame.isna:

       before           after         ratio
     [f9438649]       [3cb3cf47]
     <main>           <perf-arrow-isna>
-      32.1±0.5ms      7.95±0.08ms     0.25  frame_methods.Isna.time_isna('float64[pyarrow]')

SOME BENCHMARKS HAVE CHANGED SIGNIFICANTLY.
PERFORMANCE INCREASED.

@lukemanley lukemanley added Performance Memory or execution speed performance Arrow pyarrow functionality labels Feb 25, 2023
@phofl phofl added this to the 2.1 milestone Feb 25, 2023
@phofl phofl merged commit e057427 into pandas-dev:main Feb 25, 2023
@phofl
Copy link
Member

phofl commented Feb 25, 2023

thx @lukemanley

@lukemanley lukemanley deleted the perf-arrow-isna branch March 17, 2023 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Performance Memory or execution speed performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants