def test_simpleimputer_char(test_data):
    (X, _) = test_data
    col_spec = columns(dtype_include='object')
    si = SkippaSimpleImputer(cols=col_spec, strategy='most_frequent')
    res = si.fit_transform(X)
    assert isinstance(res, pd.DataFrame)
    subset = res[col_spec(X)]
    assert (subset.isna().sum().sum() == 0)
def test_simpleimputer_char(test_data):
    (X, _) = test_data
    col_spec = columns(dtype_include='object')
    si = SkippaSimpleImputer(cols=col_spec, strategy='most_frequent')
    res = si.fit_transform(X)
    assert isinstance(res, pd.DataFrame)
    subset = res[col_spec(X)]
    assert (subset.isna().sum().sum() == 0)