pandas.test
pandas 3.1.1 · Testing, errors, and warnings · function
Run the installed pandas test suite with pytest.
Call syntax
pd.test(extra_args=None, run_doctests=False)Inspect the call
Run this code to inspect the callable and its parameters. Its data, backend, or environment is needed to execute the operation itself.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
extra_args |
Optional Positional or keyword Default None |
list[str] |
run_doctests |
Optional Positional or keyword Default False |
bool |
Returns
None
Example for a local Python session
import pandas as pd
# Requires the pandas test suite and its test dependencies.
# This limits pytest to tests whose names match the supplied keyword.
pd.test(extra_args=["-k", "searchsorted"])