def get_concept_classified():
 ct._write_head()
 df = _get_type_data((ct.SINA_CONCEPTS_INDEX_URL % (ct.P_TYPE['http'], ct.DOMAINS['sf'], ct.PAGES['cpt'])))
 data = []
 for row in df.values:
  rowDf = _get_detail(row[0])
  rowDf['c_name'] = row[1]
  data.append(rowDf)
 data = pd.concat(data, ignore_index=True)
 return data

def get_concept_classified ( ) : ct . _write_head ( ) df = _get_type_data ( ( ct . SINA_CONCEPTS_INDEX_URL % ( ct . P_TYPE [ 'http' ] , ct . DOMAINS [ 'sf' ] , ct . PAGES [ 'cpt' ] ) ) ) data = [ ] for row in df . values : rowDf = _get_detail ( row [ 0 ] ) rowDf [ 'c_name' ] = row [ 1 ] data . append ( rowDf ) data = pd . concat ( data , ignore_index = True ) return data
return dataframe code :股票代码 name :股票名称 c_name :概念名称 .