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

feat: added Column.summarize_statistics() #715

Merged
merged 8 commits into from
May 4, 2024

Conversation

SamanHushi
Copy link
Contributor

@SamanHushi SamanHushi commented May 4, 2024

Closes #701

Summary of Changes

Added summarize_statistics to the Column class to quickly get an overview of relevant statistics.

The Column is converted into a Table with one Column and the results from Table.summarize_statistics() are returned. This way, if someone adds a new feature to Table.summarize_statistics(), it also appears in Column.summarize_statistics().

@SamanHushi SamanHushi marked this pull request as ready for review May 4, 2024 12:46
@SamanHushi SamanHushi requested a review from a team as a code owner May 4, 2024 12:46
@SamanHushi
Copy link
Contributor Author

SamanHushi commented May 4, 2024

Had a commit in this branch that was not suposed to be here

Copy link

codecov bot commented May 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (f2f4418) to head (982397a).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #715   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           66        66           
  Lines         4811      4814    +3     
=========================================
+ Hits          4811      4814    +3     

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

Copy link
Member

@lars-reimann lars-reimann left a comment

Choose a reason for hiding this comment

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

Very nice, I've just made some minor stylistic changes.

@lars-reimann lars-reimann enabled auto-merge (squash) May 4, 2024 14:50
@lars-reimann lars-reimann merged commit 71730a9 into Safe-DS:main May 4, 2024
11 checks passed
lars-reimann pushed a commit that referenced this pull request May 4, 2024
## [0.23.0](v0.22.1...v0.23.0) (2024-05-04)

### Features

* add `Column.to_table` ([#705](#705)) ([36e4a7a](36e4a7a)), closes [#695](#695)
* added Column.summarize_statistics() ([#715](#715)) ([71730a9](71730a9)), closes [#701](#701)
* replace other values than NaN with imputer ([#707](#707)) ([4a059e0](4a059e0)), closes [#643](#643)

### Bug Fixes

* use UTF-8 encoding when opening files ([#704](#704)) ([f8c27bc](f8c27bc))
@lars-reimann
Copy link
Member

🎉 This PR is included in version 0.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Column.summarize_statistics
2 participants