def get_boundaries(bucket_names):
    """
    Get boundaries of pandas-quantized features.

    >>> bucket_names = ["whatever_(100.0, 1000.0)", "whatever_(-100.0, 100.0)"]
    >>> get_boundaries(bucket_names)
    [(100.0, 1000.0), (-100.0, 100.0)]
    """
    boundaries = []
    for bucket_name in bucket_names:
        boundaries_str = bucket_name.split("_")[-1]
        lo_str, hi_str = boundaries_str.strip("[]() ").split(",")
        boundaries.append((float(lo_str), float(hi_str)))

    return boundaries