data-apis / dataframe-interchange-tests

Test suite for the dataframe interchange protocol
MIT License
3 stars 2 forks source link

DataFrame Interchange Protocol Compliance Suite

This suite contains tests for dataframe libraries adopting the Python DataFrame Interchange Protocol. Note it's a work in progress.

What are we testing?

What the heck is LibraryInfo?

Tests don't access the dataframe libraries directly, but wrappers defined in wrappers.py in the form of a LibraryInfo object. This allows us to standardise how these libraries work, so we can ignore implementation details when writing our tests.

For test functions which take a libinfo argument, we use the pytest_generate_tests hook in conftest.py to automatically parametrize it with every dataframe library installed in the user's environment.

Other testing efforts