Differences
This shows you the differences between two versions of the page.
projs:clans:docs:snd [2014/01/20 10:59] yoyoliliu |
projs:clans:docs:snd [2014/01/21 14:31] (current) yoyoliliu |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Class Distribution ====== | ====== Class Distribution ====== | ||
- File name: distribution.py | - File name: distribution.py | ||
+ | |||
====== Decription ====== | ====== Decription ====== | ||
- | - Given a particular job type or position, we can find at which industry universities' alumnus are most common working. | + | Given a particular job type or position, we can find at which industry universities' alumnus are most common working. |
- | ====== Parameter ====== | + | |
- | ====== Return ====== | + | |
====== Detail Information ====== | ====== Detail Information ====== | ||
- Related python modules: MySQLdb | - Related python modules: MySQLdb | ||
- MySQLdb:[[https://pypi.python.org/pypi/MySQL-python]] | - MySQLdb:[[https://pypi.python.org/pypi/MySQL-python]] | ||
====== Function ====== | ====== Function ====== | ||
- | - GetIndustyDistribution(subindustry) | + | - [[projs:clans:docs:snd:getindustrydistribution|GetSubIndustyD(industry)]]: Return colleges which alumnus are most common working in sub industry. |
- | - - Description: given a industry, count at which college's alumnus are most common working. The number of industry in mainland China is 141. For example,'银行业','房地产开发与经营','计算机应用服务业' and so on. | + | - [[projs:clans:docs:snd:getindistryd|GetIndistryD(college,industry)]]: Return a list of colleges which alumnus are most common working in this industry. |
- | - - Parameter:industry denotes classification of listed company in mainland China | + | - [[projs:clans:docs:snd:getcompanydistribution|GetCompanyDistribution(college,top)]]: Return the most common companies which are most alumnus of this college work in. |
- | - - Return: a sorted list of colleges. | + | - [[projs:clans:docs:snd:gettitledistribution|GetTitleDistribution(college,top)]]: Return a sorted list of title which alumnus of this college most get. |
- | - GetIndistryD(indutry,top) | + | - [[projs:clans:docs:snd:countdistribution|CountDistribution(list,top)]]: Return a sorted list which length of top. |
- | - - Description: | + | |
- | - - Parameter: | + | |
- | - - Return: | + | |
- | - GetCompanyDistribution(college,top) | + | |
- | - - Description: | + | |
- | - - Parameter: | + | |
- | - - Return: | + | |
- | - GetTitleDistribution(college,top) | + | |
- | - - Description: | + | |
- | - - Parameter: | + | |
- | - - Return: | + | |
- | - CountDistribution(listC,top) | + | |
- | - - Description: | + | |
- | - - Parameter: | + | |
- | - - Return: | + | |