-
Notifications
You must be signed in to change notification settings - Fork 4
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: make Column
and Row
iterable
#55
feat: make Column
and Row
iterable
#55
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Codecov Report
@@ Coverage Diff @@
## main #55 +/- ##
==========================================
+ Coverage 91.51% 91.59% +0.07%
==========================================
Files 45 45
Lines 1132 1142 +10
==========================================
+ Hits 1036 1046 +10
Misses 96 96
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
65e5cd1
to
1922f60
Compare
🎉 This PR is included in version 0.3.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Closes #47.
Summary of Changes
__iter__
method toColumn
andRow
to iterate over the values:Column
returns the values.Row
returns the column names, as specified in the documenetation of__iter__
.__len__
method toColumn
andRow
to compute their length.__getitem__
:IndexOutOfBoundsError
toIndexError
.UnknownColumnNameError
toKeyError
.