def METHOD_NAME(weight: pd.Series, thing_to_weight: pd.Series) -> pd.Series:
    aligned_weight = weight.reindex(thing_to_weight.index).ffill()
    weighted_thing = thing_to_weight * aligned_weight
    return weighted_thing