def get_min_quantile_value(series1, series2, quant):
    """Calculate minimum of quantile thresholds.
    Given two pandas Series, and a quantile, calculate threshold for both Series, and return the
    smaller one.

    Args:
        dataframe1: Pandas Series
        dataframe2: Pandas Series
        quant: float percentile. For top 1% enter 0.99 etc.

    Returns:
        threshold: float

    """
    return min(series1.quantile(q=quant), series2.quantile(q=quant))