-
Notifications
You must be signed in to change notification settings - Fork 21
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
More tests on the API #49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made a couple of minor comments. Would love to know your thoughts.
Thanks! @iskode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @iskode. Modulo naming things, I think this test approach does make sense. The assert_frame_equal
checks are more comprehensive, however a separate check that the structure of the object created by __dataframe__()
is correct is useful.
I've found some issues with testing the buffer in case of categorical variables. Commented codes in the function |
update with recent merges.
I've updated tests with recent merged PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM now, thanks @iskode
Current tests focus on
from_dataframe
method. To have a better test coverage, I've written some test cases for__dataframe__
method. Note that this is a starting point. Added tests are not complete e.gBuffer
tests are missing.