def download_pdc_id(pdc_id, _download_msg=True):
    'Download a PDC dataset by its PDC study id.\n    \n    Returns:\n    pandas.DataFrame: The clinical table for the study id.\n    pandas.DataFrame: The quantitative table for the study id.\n    '
    if _download_msg:
        clin_msg = f'Downloading clinical table for {pdc_id}...'
        print(clin_msg, end='\r')
    clin = _download_study_clin(pdc_id).set_index('case_submitter_id').sort_index()
    if _download_msg:
        print((' ' * len(clin_msg)), end='\r')
        bio_msg = f'Downloading biospecimenPerStudy table for {pdc_id}...'
        print(bio_msg, end='\r')
    bio = _download_study_biospecimen(pdc_id).set_index('aliquot_submitter_id').sort_index()
    if _download_msg:
        print((' ' * len(bio_msg)), end='\r')
        quant_msg = f'Downloading quantitative table for {pdc_id}...'
        print(quant_msg, end='\r')
    quant = _download_study_quant(pdc_id)
    if _download_msg:
        print((' ' * len(quant_msg)), end='\r')
        format_msg = f'Formatting tables for {pdc_id}...'
        print(format_msg, end='\r')
    quant = quant.assign(aliquot_submitter_id=quant.iloc[:, 0].str.split(':', n=1, expand=True)[1]).drop(columns=quant.columns[0]).set_index('aliquot_submitter_id').sort_index()
    quant = bio.join(quant, how='inner').reset_index().set_index(['case_submitter_id', 'aliquot_submitter_id']).sort_index()
    if _download_msg:
        print((' ' * len(format_msg)), end='\r')
    return (clin, quant)
Download a PDC dataset by its PDC study id.

Returns:
pandas.DataFrame: The clinical table for the study id.
pandas.DataFrame: The quantitative table for the study id.
def download_pdc_id(pdc_id, _download_msg=True):
    'Download a PDC dataset by its PDC study id.\n    \n    Returns:\n    pandas.DataFrame: The clinical table for the study id.\n    pandas.DataFrame: The quantitative table for the study id.\n    '
    if _download_msg:
        clin_msg = f'Downloading clinical table for {pdc_id}...'
        print(clin_msg, end='\r')
    clin = _download_study_clin(pdc_id).set_index('case_submitter_id').sort_index()
    if _download_msg:
        print((' ' * len(clin_msg)), end='\r')
        bio_msg = f'Downloading biospecimenPerStudy table for {pdc_id}...'
        print(bio_msg, end='\r')
    bio = _download_study_biospecimen(pdc_id).set_index('aliquot_submitter_id').sort_index()
    if _download_msg:
        print((' ' * len(bio_msg)), end='\r')
        quant_msg = f'Downloading quantitative table for {pdc_id}...'
        print(quant_msg, end='\r')
    quant = _download_study_quant(pdc_id)
    if _download_msg:
        print((' ' * len(quant_msg)), end='\r')
        format_msg = f'Formatting tables for {pdc_id}...'
        print(format_msg, end='\r')
    quant = quant.assign(aliquot_submitter_id=quant.iloc[:, 0].str.split(':', n=1, expand=True)[1]).drop(columns=quant.columns[0]).set_index('aliquot_submitter_id').sort_index()
    quant = bio.join(quant, how='inner').reset_index().set_index(['case_submitter_id', 'aliquot_submitter_id']).sort_index()
    if _download_msg:
        print((' ' * len(format_msg)), end='\r')
    return (clin, quant)