def METHOD_NAME(df_factory):
    df = df_factory(x=[1, 2, 3], y=[2, 3, 4])
    px = np.array([1.5, 2.5, 2.5, 1.5])
    py = np.array([2.5, 2.5, 3.5, 3.5])
    df['inside'] = df.geo.inside_polygon(df.x, df.y, px, py)
    assert df.inside.values.tolist() == [False, True, False]