def downloader(data):
    '\n  This function uses extracted information in order to dwonaload spectra, \n  separating the data from th SDSS and BOSS.\n\n  downloader(pd.Dataframe) --> [list(fits)]\n  '
    spec_list = []
    for i in range(len(data)):
        results = SDSS.query_specobj(plate=data['plate'][i], mjd=data['mjd'][i], fiberID=data['fiberID'][i])
        try:
            spec = SDSS.get_spectra(matches=results)[0]
            spec_list.append(spec)
        except:
            results.remove_column('instrument')
            results.add_column(name='instrument', col='eboss')
            spec = SDSS.get_spectra(matches=results)[0]
            spec_list.append(spec)
    return spec_list
This function uses extracted information in order to dwonaload spectra, 
separating the data from th SDSS and BOSS.

downloader(pd.Dataframe) --> [list(fits)]
def downloader(data):
    '\n  This function uses extracted information in order to dwonaload spectra, \n  separating the data from th SDSS and BOSS.\n\n  downloader(pd.Dataframe) --> [list(fits)]\n  '
    spec_list = []
    for i in range(len(data)):
        results = SDSS.query_specobj(plate=data['plate'][i], mjd=data['mjd'][i], fiberID=data['fiberID'][i])
        try:
            spec = SDSS.get_spectra(matches=results)[0]
            spec_list.append(spec)
        except:
            results.remove_column('instrument')
            results.add_column(name='instrument', col='eboss')
            spec = SDSS.get_spectra(matches=results)[0]
            spec_list.append(spec)
    return spec_list