def extractor(position):
    "\n  This function extracts the information from the SDSS database and returns\n  a pandas dataframe with the query region. Please ensure that the 'position'\n  input is formatted as '005313.81 +130955.0\n\n  extractor(str) --> pd.DataFrame\n  "
    position = ra_dec_format(position)
    pos = coords.SkyCoord(position, frame='icrs')
    data = SDSS.query_region(pos, spectro=True)
    return data.to_pandas()
This function extracts the information from the SDSS database and returns
a pandas dataframe with the query region. Please ensure that the 'position'
input is formatted as '005313.81 +130955.0

extractor(str) --> pd.DataFrame
def extractor(position):
    "\n  This function extracts the information from the SDSS database and returns\n  a pandas dataframe with the query region. Please ensure that the 'position'\n  input is formatted as '005313.81 +130955.0\n\n  extractor(str) --> pd.DataFrame\n  "
    position = ra_dec_format(position)
    pos = coords.SkyCoord(position, frame='icrs')
    data = SDSS.query_region(pos, spectro=True)
    return data.to_pandas()