def hitran_bands(df):
    """Print all bands in HITRAN transitions

    Parameters
    ----------
    df : pandas DataFrame
        HITRAN transitions returned by read_hitran_file
    """
    bands = df.global_upper_quanta.unique()
    for b in bands:
        nu = df[df.global_upper_quanta.str.contains(b) & df.
            global_lower_quanta.str.contains(b'GROUND')].nu.mean()
        print(b, nu)
