def _find_points_in_bounds(data_frame, x_bounds, y_bounds):
    """Find the data points what lie within a given bin

    :param data_frame: data frame containing the mapping.
    :param x_bounds: the x bounds of this bin
    :param y_bounds: the y bounds of this bin
    :returns: DataFrame -- data frame containing the values in this bin.
    """
    xlower, xupper = x_bounds
    ylower, yupper = y_bounds
    xbounds = (data_frame['0'] >= xlower) & (data_frame['0'] < xupper)
    ybounds = (data_frame['1'] >= ylower) & (data_frame['1'] < yupper)
    return data_frame[xbounds & ybounds]