test_aide.pandas.row_by_row_params¶
- test_aide.pandas.row_by_row_params(df_1, df_2)[source]¶
Helper function to split input pd.DataFrames pairs into a list of pytest.params of individual row pairs and a final pytest.param of the original inputs.
This function can be used in combination with the pytest.mark.parametrize decorator to easily test that a transformer transform method is giving the expected outputs, when called row by row as well as multi row inputs.