def get_row_indices(merged_data, consumer_id, offer_id):
    """
        Return the row indices related to a specific consumer and a
        specific offer.
    """

    row = merged_data[(merged_data["offer_id"] == offer_id) & (merged_data["consumer_id"] == consumer_id)]

    return row.index