mns-common 1.2.7.7__py3-none-any.whl → 1.2.7.9__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.
@@ -61,6 +61,8 @@ def set_ths_concept(symbol, df):
61
61
  df['ths_concept_name'] = "未有"
62
62
  df['ths_concept_code'] = 0
63
63
  df['ths_concept_sync_day'] = "1989-07-29"
64
+ # 有效数量
65
+ df['ths_concept_count'] = 0
64
66
 
65
67
  df['ths_concept_list_info'] = "-"
66
68
 
@@ -95,6 +97,10 @@ def set_ths_concept(symbol, df):
95
97
 
96
98
  ths_stock_concept_detail_effective = ths_stock_concept_detail.loc[
97
99
  ths_stock_concept_detail['concept_code'].isin(ths_effective_concept_code_list)]
100
+ ths_concept_count = ths_stock_concept_detail_effective.shape[0]
101
+
102
+ df.loc[:, 'ths_concept_count'] = ths_concept_count
103
+
98
104
  if data_frame_util.is_empty(ths_stock_concept_detail_effective):
99
105
  return df
100
106
  # 最新概念设置
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns_common
3
- Version: 1.2.7.7
3
+ Version: 1.2.7.9
4
4
 
@@ -69,7 +69,7 @@ mns_common/component/company/company_common_service_api.py,sha256=pqb11v5y0uFWJt
69
69
  mns_common/component/company/company_common_service_new_api.py,sha256=dKh633fEsZm7KbUviUmqZFRUwjxyLTu-Y23ItTBsK60,5075
70
70
  mns_common/component/concept/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
71
71
  mns_common/component/concept/kpl_concept_common_service_api.py,sha256=Ruc3INOhVjB0X1LeMRX0zL3uhv9OLweG2hj6wkZffow,3235
72
- mns_common/component/concept/ths_concept_common_service_api.py,sha256=hmdU3HkEduf0ppun9JhF82vnJBNzm6s22a4xqO_65PA,10088
72
+ mns_common/component/concept/ths_concept_common_service_api.py,sha256=ik_3T0oWtyTWYOSjmSEGrcd32DsvoHqiEYeGDMLIRRg,10270
73
73
  mns_common/component/cookie/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
74
74
  mns_common/component/cookie/cookie_info_service.py,sha256=IIFKj84dnBrUOt2Wl6kbCj-BDdFX_X9z8IIk4LxLNTc,754
75
75
  mns_common/component/data/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
@@ -124,7 +124,7 @@ mns_common/utils/date_handle_util.py,sha256=qkEyKLYiVq6qpKVp32MLKwRtGKVBK6AY5at2
124
124
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
125
125
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
126
126
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
127
- mns_common-1.2.7.7.dist-info/METADATA,sha256=tQQhGFtWRJUiPamXdgOjGDIFTUIg1HUxkYIqDWyTxnA,61
128
- mns_common-1.2.7.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
129
- mns_common-1.2.7.7.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
130
- mns_common-1.2.7.7.dist-info/RECORD,,
127
+ mns_common-1.2.7.9.dist-info/METADATA,sha256=wj9mzngctZs274wVfv5OKgxr3SicrtQS8QuVQswlT_k,61
128
+ mns_common-1.2.7.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
129
+ mns_common-1.2.7.9.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
130
+ mns_common-1.2.7.9.dist-info/RECORD,,