def METHOD_NAME(testpath):
    """Import Points via Pandas dataframe, deprecated behaviour."""
    dfr = pd.read_csv(testpath / CSV1, skiprows=3)
    mypoints = xtgeo.Points()
    attr = {"IX": "I", "JY": "J", "KZ": "K"}
    with pytest.warns(DeprecationWarning):
        mypoints.from_dataframe(dfr, east="X", north="Y", tvdmsl="Z", attributes=attr)
    assert mypoints.dataframe.X_UTME.mean() == dfr.X.mean()