Skip to content

GH-49349: [Doc][Python] Simplify doctests in tables.pxi and types.pxi - #49350

Merged
rok merged 1 commit into
apache:mainfrom
tadeja:docstring-table-simplified
Mar 5, 2026
Merged

GH-49349: [Doc][Python] Simplify doctests in tables.pxi and types.pxi#49350
rok merged 1 commit into
apache:mainfrom
tadeja:docstring-table-simplified

Conversation

@tadeja

@tadejatadeja commented Feb 20, 2026

Copy link
Copy Markdown
Member

Rationale for this change

Closes#49349

What changes are included in this PR?

a) Changing docstring examples from pandas 2.3.3 or 3 agnostic to pandas 3 specific output
b) Replace pa.Table.from_arrays([...], names=[...]) with pa.table({...})

Are these changes tested?

Yes, tests pass locally.

Are there any user-facing changes?

No.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #49349has been automatically assigned in GitHub to PR creator.

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #49349has no components, please add labels for components.

@rok
rok merged commit 5647eda into apache:mainMar 5, 2026
15 of 16 checks passed
@rokrok removed the awaiting review Awaiting review label Mar 5, 2026
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 5647eda.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 11 possible false positives for unstable benchmarks that are known to sometimes produce them.

thisisnic pushed a commit to thisisnic/arrow that referenced this pull request Apr 6, 2026
…es.pxi (apache#49350)
### Rationale for this change
Closesapache#49349
### What changes are included in this PR?
a) Changing docstring examples from pandas 2.3.3 or 3 agnostic to pandas 3 specific output
b) Replace `pa.Table.from_arrays([...], names=[...])` with `pa.table({...})`
### Are these changes tested?
Yes, tests pass locally.
### Are there any user-facing changes?
No.
* GitHub Issue: apache#49349
Authored-by: Tadeja Kadunc <tadeja.kadunc@gmail.com>
Signed-off-by: Rok Mihevc <rok@mihevc.org>
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…es.pxi (apache#49350)
### Rationale for this change
Closesapache#49349
### What changes are included in this PR?
a) Changing docstring examples from pandas 2.3.3 or 3 agnostic to pandas 3 specific output
b) Replace `pa.Table.from_arrays([...], names=[...])` with `pa.table({...})`
### Are these changes tested?
Yes, tests pass locally.
### Are there any user-facing changes?
No.
* GitHub Issue: apache#49349
Authored-by: Tadeja Kadunc <tadeja.kadunc@gmail.com>
Signed-off-by: Rok Mihevc <rok@mihevc.org>
@tadeja
tadeja deleted the docstring-table-simplified branch June 9, 2026 16:16
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc][Python] Simplify doctests in tables.pxi and types.pxi

2 participants

@tadeja@rok