Skip to content

PERF: regression in DataFrame reduction ops performance #37081

@jorisvandenbossche

Description

@jorisvandenbossche

From https://pandas.pydata.org/speed/pandas/#stat_ops.FrameOps.time_op?Cython=0.29.21&Cython=0.29.16&p-op='sum'&p-dtype='int'&p-axis=0&commits=3a043f2d-4c03d07b&x-axis-scale=date

Reproducer:

values = np.random.randn(100000, 4)  
df = pd.DataFrame(values).astype("int")
%timeit df.sum()

increased with a factor 2 to 3 x somewhere the last days.

Metadata

Metadata

Assignees

Labels

PerformanceMemory or execution speed performanceRegressionFunctionality that used to work in a prior pandas version

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions