siat 1.7.50__py3-none-any.whl → 1.7.51__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
siat/sector_china.py CHANGED
@@ -662,6 +662,7 @@ def print_industry_sw(itype='I',numberPerLine=5,colalign='left'):
662
662
  if __name__=='__main__':
663
663
  iname='食品饮料'
664
664
  iname='银行'
665
+ iname='汽车'
665
666
  numberPerLine=5
666
667
  colalign='right'
667
668
 
@@ -677,6 +678,9 @@ def print_industry_component_sw(iname,numberPerLine=5,colalign='left'):
677
678
  clist,cdf=industry_stock_sw(icode,top=1000)
678
679
 
679
680
  cdf['icode']=cdf['证券代码'].apply(lambda x: x+'.SS' if x[:1] in ['6'] else (x+'.SZ' if x[:1] in ['0','3'] else x+'.BJ' ))
681
+
682
+ # 删除'证券名称'为None的行
683
+ cdf=cdf.mask(cdf.eq('None')).dropna()
680
684
  cdf['name_code']=cdf.apply(lambda x: x['证券名称']+'('+x['icode']+')',axis=1)
681
685
 
682
686
  ilist=list(cdf['name_code'])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: siat
3
- Version: 1.7.50
3
+ Version: 1.7.51
4
4
  Summary: Securities Investment Analysis Tools (siat)
5
5
  Home-page: https://pypi.org/project/siat/
6
6
  Author: Prof. WANG Dehong, Business School, BFSU (北京外国语大学 国际商学院 王德宏 教授)
@@ -73,7 +73,7 @@ siat/risk_evaluation.py,sha256=lCDqCaSEppH0MFPFg-P14IYcF3IJqILbPfDmzf_AfcY,75061
73
73
  siat/risk_evaluation_test.py,sha256=YEXM96gKzTfwN4U61AS4Rr1tV7KgUvn4rRC6f3iMw9s,3731
74
74
  siat/risk_free_rate.py,sha256=r62zCl1qbI4lJU17GsgM-OmVx9oo3dltXeZVCNd6Uxg,12304
75
75
  siat/risk_free_rate_test.py,sha256=CpmhUf8aEAEZeNu4gvWP2Mz2dLoIgBX5bI41vfUBEr8,4285
76
- siat/sector_china.py,sha256=LV4XbLljnqZ8puyJToqYEBVo4meV8Ma6VxYiDiB_dd8,65239
76
+ siat/sector_china.py,sha256=rpJ-HA14nb5pk6IRS7GTS3moRKhLQeC5-YlMkQJgfYo,65349
77
77
  siat/sector_china_test.py,sha256=tvFQYptmj7jq6H5kNaRJtcP5Wgb-eWvaoSl33Y47ZsM,4210
78
78
  siat/security_price.py,sha256=ibrdUJyt_n0c8oKRbVStE1_ptmWkzy4YIHjpc_fGiPQ,29148
79
79
  siat/security_prices.py,sha256=Xl7EHz16qCUIzuPGpEi-g-tLGQKk3MqHmic556-Vs7U,71984
@@ -104,7 +104,7 @@ siat/universal_test.py,sha256=CDAOffW1Rvs-TcNN5giWVvHMlch1w4dp-w5SIV9jXL0,3936
104
104
  siat/valuation_china.py,sha256=U9FQgFcbJcS-S0cwy8iJ9Z0Rf8sxCN5Pxhm1DItUUgQ,51206
105
105
  siat/valuation_market_china_test.py,sha256=gbJ0ioauuo4koTPH6WKUkqcXiQPafnbhU5eKJ6lpdLA,1571
106
106
  siat/var_model_validation.py,sha256=zB_Skk_tmzIR15l6oAW3am4HBGVIG-eZ8gJhCdXZ8Qw,14859
107
- siat-1.7.50.dist-info/METADATA,sha256=X3mmoDQSedgRhQYsSzMaDSH6fUAmuOG0I5CdqxCxG90,1400
108
- siat-1.7.50.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
109
- siat-1.7.50.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
110
- siat-1.7.50.dist-info/RECORD,,
107
+ siat-1.7.51.dist-info/METADATA,sha256=SNhRr3owapwRinP3mPd2OG6wmJvFWBcya99n013Ruk8,1400
108
+ siat-1.7.51.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
109
+ siat-1.7.51.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
110
+ siat-1.7.51.dist-info/RECORD,,
File without changes