Skip to content

GH-33741: [Python] Address docstrings in Data Types Factory Functions#33785

Merged
jorisvandenbossche merged 11 commits into
apache:mainfrom
AlenkaF:gh-33741-docstrings-data-types-functions
Mar 16, 2023
Merged

GH-33741: [Python] Address docstrings in Data Types Factory Functions#33785
jorisvandenbossche merged 11 commits into
apache:mainfrom
AlenkaF:gh-33741-docstrings-data-types-functions

Conversation

@AlenkaF

@AlenkaF AlenkaF commented Jan 19, 2023

Copy link
Copy Markdown
Member

Rationale for this change

Ensure docstrings for Data Types Factory Functions have an Examples section.

What changes are included in this PR?

Docstrings are added to listed Data Types Factory Functions.

Are these changes tested?

Yes, locally with pytest --doctest-cython --disable-warnings pyarrow and on the CI with Python / AMD64 Conda Python 3.9 Sphinx & Numpydoc build.

Are there any user-facing changes?

No.

@github-actions

Copy link
Copy Markdown

Comment thread python/pyarrow/types.pxi Outdated

@danepitkin danepitkin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small suggestions, but overall LGTM!

Comment thread python/pyarrow/types.pxi Outdated
@AlenkaF AlenkaF requested a review from danepitkin February 20, 2023 09:11

@jorisvandenbossche jorisvandenbossche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tiny comments, but generally looks good!

Comment thread python/pyarrow/types.pxi Outdated
Comment thread python/pyarrow/types.pxi Outdated
Comment thread python/pyarrow/types.pxi Outdated
Comment thread python/pyarrow/types.pxi Outdated
Comment thread python/pyarrow/types.pxi Outdated
@AlenkaF AlenkaF force-pushed the gh-33741-docstrings-data-types-functions branch from a9e50c3 to 61fd32b Compare February 28, 2023 08:46
@AlenkaF AlenkaF requested review from jorisvandenbossche and removed request for danepitkin February 28, 2023 13:32
@AlenkaF AlenkaF added this to the 12.0.0 milestone Mar 16, 2023
@jorisvandenbossche jorisvandenbossche merged commit 427f1b6 into apache:main Mar 16, 2023
@jorisvandenbossche

Copy link
Copy Markdown
Member

Thanks!

@AlenkaF AlenkaF deleted the gh-33741-docstrings-data-types-functions branch March 16, 2023 14:43
@ursabot

ursabot commented Mar 16, 2023

Copy link
Copy Markdown

Benchmark runs are scheduled for baseline = fe88d9a and contender = 427f1b6. 427f1b6 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Finished ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Finished ⬇️0.12% ⬆️0.03%] test-mac-arm
[Finished ⬇️0.0% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.09% ⬆️0.0%] ursa-thinkcentre-m75q
Buildkite builds:
[Finished] 427f1b64 ec2-t3-xlarge-us-east-2
[Finished] 427f1b64 test-mac-arm
[Finished] 427f1b64 ursa-i9-9960x
[Finished] 427f1b64 ursa-thinkcentre-m75q
[Finished] fe88d9ad ec2-t3-xlarge-us-east-2
[Finished] fe88d9ad test-mac-arm
[Finished] fe88d9ad ursa-i9-9960x
[Finished] fe88d9ad ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

Sign up for free to 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.

[Python] Address docstrings in Data Types Factory Functions

4 participants