def METHOD_NAME(df):
    """Fill downwards, then upwards on a single column."""
    expected = df.copy()
    expected.loc[:, "pet_type"] = expected.loc[:, "pet_type"].ffill().bfill()
    assert_frame_equal(df.fill_direction(**{"pet_type": "downup"}), expected)