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

Fix .to_flat() to return df with ArrowDtype'd Series #73

Merged
merged 1 commit into from
May 9, 2024
Merged

Conversation

hombit
Copy link
Collaborator

@hombit hombit commented May 9, 2024

Fixes #66

Change Description

  • My PR includes a link to the issue that I am addressing

Solution Description

Code Quality

  • I have read the Contribution Guide
  • My code follows the code style of this project
  • My code builds (or compiles) cleanly without any errors or warnings
  • My code contains relevant comments and necessary documentation

Project-Specific Pull Request Checklists

Bug Fix Checklist

  • My fix includes a new test that breaks as a result of the bug (if possible)
  • My change includes a breaking change
    • My change includes backwards compatibility and deprecation warnings (if possible)

New Feature Checklist

  • I have added or updated the docstrings associated with my feature using the NumPy docstring format
  • I have updated the tutorial to highlight my new feature (if appropriate)
  • I have added unit/End-to-End (E2E) test cases to cover my new feature
  • My change includes a breaking change
    • My change includes backwards compatibility and deprecation warnings (if possible)

Documentation Change Checklist

Build/CI Change Checklist

  • If required or optional dependencies have changed (including version numbers), I have updated the README to reflect this
  • If this is a new CI setup, I have added the associated badge to the README

Other Change Checklist

  • Any new or updated docstrings use the NumPy docstring format.
  • I have updated the tutorial to highlight my new feature (if appropriate)
  • I have added unit/End-to-End (E2E) test cases to cover any changes
  • My change includes a breaking change
    • My change includes backwards compatibility and deprecation warnings (if possible)

@hombit hombit requested a review from dougbrn May 9, 2024 15:04
Copy link

codecov bot commented May 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.56%. Comparing base (a196bd6) to head (c081fef).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #73   +/-   ##
=======================================
  Coverage   97.56%   97.56%           
=======================================
  Files          16       16           
  Lines         820      821    +1     
=======================================
+ Hits          800      801    +1     
  Misses         20       20           

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

Copy link

github-actions bot commented May 9, 2024

Before [a196bd6] After [b7f041e] Ratio Benchmark (Parameter)
8.27±0.2ms 8.56±0.2ms 1.03 benchmarks.NestedFrameAddNested.time_run
257M 260M 1.01 benchmarks.AssignSingleDfToNestedSeries.peakmem_run
31.5±1ms 31.9±3ms 1.01 benchmarks.AssignSingleDfToNestedSeries.time_run
85.8M 86M 1 benchmarks.NestedFrameAddNested.peakmem_run
88.2M 88.2M 1 benchmarks.NestedFrameQuery.peakmem_run
88.2M 88.2M 1 benchmarks.NestedFrameReduce.peakmem_run
5.19±0.05ms 5.17±0.05ms 1 benchmarks.NestedFrameReduce.time_run
56.7±3ms 55.6±3ms 0.98 benchmarks.ReassignHalfOfNestedSeries.time_run
284M 272M 0.96 benchmarks.ReassignHalfOfNestedSeries.peakmem_run
8.95±0.05ms 6.14±0.03ms 0.69 benchmarks.NestedFrameQuery.time_run

Click here to view all benchmarks.

Copy link
Collaborator

@dougbrn dougbrn left a comment

Choose a reason for hiding this comment

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

LGTM

@hombit hombit merged commit 88c2aee into main May 9, 2024
11 checks passed
@hombit hombit deleted the fix/issue/66 branch May 9, 2024 17:28
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.

.nest.to_flat() should return pd.ArrowDtyped dataframe
2 participants