feat: infer schema of row if not passed explicitly#134
Merged
lars-reimann merged 5 commits intomainfrom Mar 31, 2023
Merged
Conversation
test: restructure `Row` tests test: additional tests for `Row` test: fix broken test
Member
Author
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
abe2a94 to
a3b2d7c
Compare
Codecov Report
@@ Coverage Diff @@
## main #134 +/- ##
==========================================
+ Coverage 94.16% 94.49% +0.33%
==========================================
Files 36 36
Lines 1336 1345 +9
==========================================
+ Hits 1258 1271 +13
+ Misses 78 74 -4
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
ff63109 to
5509829
Compare
lars-reimann
pushed a commit
that referenced
this pull request
Mar 31, 2023
## [0.8.0](v0.7.0...v0.8.0) (2023-03-31) ### Features * create empty `Table` without schema ([#128](#128)) ([ddd3f59](ddd3f59)), closes [#127](#127) * improve `ColumnType`s ([#132](#132)) ([1786a87](1786a87)), closes [#113](#113) * infer schema of row if not passed explicitly ([#134](#134)) ([c5869bb](c5869bb)), closes [#15](#15) * new method `is_fitted` to check whether a model is fitted ([#130](#130)) ([8e1c3ea](8e1c3ea)) * new method `is_fitted` to check whether a transformer is fitted ([#131](#131)) ([e20954f](e20954f)) * rename `drop_XY` methods of `Table` to `remove_XY` ([#122](#122)) ([98d76a4](98d76a4)) * rename `fit_transform` to `fit_and_transform` ([#119](#119)) ([76a7112](76a7112)), closes [#112](#112) * rename `shuffle` to `shuffle_rows` ([#125](#125)) ([ea21928](ea21928)) * rename `slice` to `slice_rows` ([#126](#126)) ([20d21c2](20d21c2)) * rename `TableSchema` to `Schema` ([#133](#133)) ([1419d25](1419d25))
Member
Author
|
🎉 This PR is included in version 0.8.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #15.
Summary of Changes
The
schemaparameter of theRowinitializer is now optional. If it's not passed explicitly, it gets inferred from the data. The column names are set tocolumn_0,column_1, etc.