Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] Utilize Arrow schema pa.field nullabilities in DataFrame.create #2868

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

johnkerl
Copy link
Member

@johnkerl johnkerl commented Aug 9, 2024

Issue and/or context: #2869

@johnkerl johnkerl changed the title Respect Arrow schema pa.field nullabilities python Respect Arrow schema pa.field nullabilities in DataFrame.create Aug 9, 2024
Copy link

codecov bot commented Aug 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.77%. Comparing base (7742bff) to head (546d51c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2868      +/-   ##
==========================================
- Coverage   90.04%   89.77%   -0.27%     
==========================================
  Files          37       37              
  Lines        3957     3961       +4     
==========================================
- Hits         3563     3556       -7     
- Misses        394      405      +11     
Flag Coverage Δ
python 89.77% <ø> (-0.27%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
python_api 89.77% <ø> (-0.27%) ⬇️
libtiledbsoma ∅ <ø> (∅)

@johnkerl johnkerl requested a review from nguyenv August 9, 2024 19:34
@johnkerl johnkerl marked this pull request as ready for review August 9, 2024 19:35
@johnkerl johnkerl changed the title python Respect Arrow schema pa.field nullabilities in DataFrame.create python Utilize Arrow schema pa.field nullabilities in DataFrame.create Aug 9, 2024
@johnkerl johnkerl merged commit 6b74aa5 into main Aug 9, 2024
12 checks passed
@johnkerl johnkerl deleted the kerl/arrow-schema-default-nullable branch August 9, 2024 19:54
github-actions bot pushed a commit that referenced this pull request Aug 9, 2024
…create` (#2868)

* Respect Arrow schema `pa.field` nullabilities

* Move most of the impl comments to issue 2869, now that I created it
johnkerl added a commit that referenced this pull request Aug 9, 2024
…create` (#2868) (#2870)

* Respect Arrow schema `pa.field` nullabilities

* Move most of the impl comments to issue 2869, now that I created it

Co-authored-by: John Kerl <kerl.john.r@gmail.com>
ryan-williams added a commit that referenced this pull request Aug 9, 2024
ryan-williams added a commit that referenced this pull request Aug 9, 2024
ryan-williams added a commit that referenced this pull request Aug 9, 2024
ryan-williams added a commit that referenced this pull request Aug 12, 2024
ryan-williams added a commit that referenced this pull request Aug 13, 2024
ryan-williams added a commit that referenced this pull request Aug 13, 2024
* fix comment typos

from #2868

* fix docstring typos

* update `ingest._write_dataframe` docstring

* `test_dataframe_io_roundtrips.py`: rm unused test params

* `test_dataframe_io_roundtrips.py`: add docs/comments

* add `parametrize_cases` helper

factored out of `test_dataframe_io_roundtrips.py`

* mv `make_df` to `tests._util`

* `parametrize_cases`: use `id` field instead of `name`
@johnkerl johnkerl changed the title python Utilize Arrow schema pa.field nullabilities in DataFrame.create [python] Utilize Arrow schema pa.field nullabilities in DataFrame.create Sep 17, 2024
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.

2 participants