We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Gokart is based on a DataFrame. But pd.testing.assert_frame_equal is not a simple way to compare df.
pd.testing.assert_frame_equal
This is especially true for sort and index problems.
now
expected = pd.DataFrame(...) resulted = gokart.build(Hoge()) expected = expected.sort_values([col1, col2, ...]).reset_index(drop=True) resulted = resulted.sort_values([col1, col2, ...]).reset_index(drop=True) pd.testing.assert_frame_equal(resulted, expected)
feature image
expected = pd.DataFrame(...) resulted = gokart.build(Hoge()) gokart.testing.assert_frame_equal(resulted, expected)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Gokart is based on a DataFrame. But
pd.testing.assert_frame_equal
is not a simple way to compare df.This is especially true for sort and index problems.
now
feature image
The text was updated successfully, but these errors were encountered: