6 Commits
Author SHA1 Message Date
b60d43701b GH-48473: [CI][Python] Require numpy 2.0 (#50769)
### Rationale for this change
Require Numpy 2.0 to support newer features, allow newer numpy API/ABI

### What changes are included in this PR?

- Numpy 2.0+ requirement
- Pandas 2.2.2+ requirement (first wheel compatible with numpy 2.0)
- Pyodide 0.27.1 usage (numpy 2.0 api)

### Are there any user-facing changes?
Yes, in contrast to pyarrow 25, after merging this PR pyarrow 26 can't be used with Numpy 1.x or pandas 2.0-2.2.1 

**This PR includes breaking changes to public APIs.**

This PR was created using GPT-5.6-Sol-xhigh, every line read & reviewed by me.
* GitHub Issue: #48473

Lead-authored-by: Adam Lippai <adam@rigo.sk>
Co-authored-by: Ádám Lippai <adam@rigo.sk>
Co-authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
2026-08-21 19:16:28 +02:00
Bryce Mecum 383ffe0607 GH-37333: [Python] Replace pandas.util.testing.rands with vendored version (#42089)
### Rationale for this change

Fixes https://github.com/apache/arrow/issues/37333.

### What changes are included in this PR?

- Replaces the calls to `pandas.util.testing.rands` with existing `pyarrow.tests.util.rands`
- Updated benchmarks.rst to remove a mention of the now-deprecated `asv dev` command.

### Are these changes tested?

I tested locally in a freshly-created python venv and a conda environment and the benchmarks run without error.

### Are there any user-facing changes?

No.
* GitHub Issue: #37333

Authored-by: Bryce Mecum <petridish@gmail.com>
Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
2024-06-12 09:41:39 +02:00
Wes McKinney c15eee7b98 ARROW-2395: [Python] Fix flake8 warnings outside of pyarrow/ directory. Check in CI
Author: Wes McKinney <wesm+git@apache.org>

Closes #2137 from wesm/ARROW-2395 and squashes the following commits:

d9e6e9f3 <Wes McKinney> Fix Cython flake8 warnings in examples
059a6d6b <Wes McKinney> Make functions in benchmarks/common.py py2-compatible
13791863 <Wes McKinney> Fix flake8 warnings outside of pyarrow/ directory. Check in CI
2018-06-15 11:24:32 +02:00
Antoine Pitrou 11b15a5463 ARROW-2357: [Python] Add microbenchmark for PandasObjectIsNull()
Also add Decimal fodder for other benchmarks. @cpcloud

Author: Antoine Pitrou <antoine@python.org>

Closes #1798 from pitrou/ARROW-2357-benchmarks-pandas-object-is-null and squashes the following commits:

b1c6460 <Antoine Pitrou> ARROW-2357:  Add microbenchmark for PandasObjectIsNull()
2018-04-03 06:36:13 +02:00
Antoine Pitrou c017a6346f ARROW-1035: [Python] Add streaming dataframe reconstruction benchmark
Author: Antoine Pitrou <antoine@python.org>

Closes #1665 from pitrou/ARROW-1035-streaming-benchmark and squashes the following commits:

32b1956 <Antoine Pitrou> ARROW-1035:  Add streaming dataframe reconstruction benchmark
2018-02-27 10:38:39 +01:00
Antoine Pitrou 0ada87531d ARROW-1861: [Python] Rework benchmark suite [skip ci]
This PR focusses on:
* ASV setup fixes
* splitting the benchmark file
* improving the array from/to pylist conversion benchmarks

Author: Antoine Pitrou <antoine@python.org>

Closes #1543 from pitrou/ARROW-1861-rework-benchmarks and squashes the following commits:

b608579 [Antoine Pitrou] ARROW-1861: [Python] Rework benchmark suite [skip ci]
2018-02-01 19:11:28 +01:00