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

DM-36795: Fix pandas dataframe to arrow crash with partially nulled string columns. #748

Merged
merged 3 commits into from Oct 29, 2022

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Oct 29, 2022

Checklist

  • ran Jenkins
  • added a release note for user-visible changes to doc/changes

@erykoff erykoff requested a review from ktlim October 29, 2022 21:53
@codecov
Copy link

codecov bot commented Oct 29, 2022

Codecov Report

Base: 85.28% // Head: 85.29% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (1a8c4f1) compared to base (422d82b).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #748   +/-   ##
=======================================
  Coverage   85.28%   85.29%           
=======================================
  Files         260      260           
  Lines       34336    34348   +12     
  Branches     5800     5800           
=======================================
+ Hits        29284    29296   +12     
  Misses       3816     3816           
  Partials     1236     1236           
Impacted Files Coverage Δ
python/lsst/daf/butler/formatters/parquet.py 93.37% <100.00%> (ø)
tests/test_parquet.py 98.55% <100.00%> (+0.02%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

self.assertTrue(df1.equals(df2))

def testSingleIndexDataFrameAllEmptyStrings(self):
"""Test persisting a single index dataframe with an emptry string
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"""Test persisting a single index dataframe with an emptry string
"""Test persisting a single index dataframe with an empty string

@erykoff erykoff merged commit eeb583e into main Oct 29, 2022
@erykoff erykoff deleted the tickets/DM-36795 branch October 29, 2022 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants