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

do not format if test is not necessary #1530

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

mattB1989
Copy link
Contributor

Fixes this issue

Signed-off-by: matt <m.bouchy@gmail.com>
Copy link

codecov bot commented Mar 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.02%. Comparing base (4df61da) to head (a0838d3).
Report is 43 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1530       +/-   ##
===========================================
- Coverage   94.29%   83.02%   -11.28%     
===========================================
  Files          91      111       +20     
  Lines        7024     8151     +1127     
===========================================
+ Hits         6623     6767      +144     
- Misses        401     1384      +983     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

failure_cases = (
reshape_failure_cases(check_obj[isna], ignore_na=False)
if not passed
else pd.DataFrame()
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we make sure that this empty dataframe contains the same column names as the output of reshape_failure_cases?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This can actually also be None if the check passed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I replaced with None, it's cleaner. I'm not sure the drop in code coverage is due to me, I can certainly look to add a test but not sure if it is absolutely necessary or where to start from.

@cosmicBboy cosmicBboy merged commit cdf9ffc into unionai-oss:main Apr 1, 2024
72 of 74 checks passed
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.

Performance issue with nulls in pandas dataframe with multi-index validation
2 participants