def METHOD_NAME(subset_df):
    locs = []
    rjb = []
    for idx, row in subset_df.iterrows():
        locs.append(Point(row.lon_sites, row.lat_sites))
        rjb.append(row.dist_jb)
    sites = Dummy.get_site_collection(len(rjb), vs30=800., location=locs)
    rup = Dummy.get_rupture(
        mag=row.rup_mag, hypo_lat=row.lat_epi, hypo_lon=row.lon_epi)
    rup.rjb = rup.rrup = np.array(rjb)
    return contexts.full_context(sites, rup)