mns-common 1.2.4.0__py3-none-any.whl → 1.2.4.1__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.

Potentially problematic release.


This version of mns-common might be problematic. Click here for more details.

@@ -6,7 +6,6 @@ end = file_path.index('mns') + 13
6
6
  project_path = file_path[0:end]
7
7
  sys.path.append(project_path)
8
8
 
9
- import pandas as pd
10
9
  import mns_common.component.common_service_fun_api as common_service_fun_api
11
10
 
12
11
 
@@ -39,6 +38,9 @@ def calculate_parameter_factor(real_time_quotes_now):
39
38
  # real_time_quotes_now['disk_diff_share_exchange'] = (real_time_quotes_now['disk_diff_share']
40
39
  # / real_time_quotes_now[
41
40
  # 'flow_share']) * 1000
41
+ real_time_quotes_now['mv_circulation_ratio'] = real_time_quotes_now['mv_circulation_ratio'].fillna(1)
42
+
43
+ real_time_quotes_now['mv_circulation_ratio'] = real_time_quotes_now['mv_circulation_ratio'].replace('', 1)
42
44
 
43
45
  real_time_quotes_now['disk_diff_amount_exchange'] = round(
44
46
  (real_time_quotes_now['disk_diff_amount'] / real_time_quotes_now['flow_mv']) * 1000, 2)
@@ -1,4 +1,4 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mns_common
3
- Version: 1.2.4.0
3
+ Version: 1.2.4.1
4
4
 
@@ -64,7 +64,7 @@ mns_common/component/concept/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALv
64
64
  mns_common/component/concept/kpl_concept_common_service_api.py,sha256=Ruc3INOhVjB0X1LeMRX0zL3uhv9OLweG2hj6wkZffow,3235
65
65
  mns_common/component/concept/ths_concept_common_service_api.py,sha256=KkbEnBTz3HZs8mSJ-2FX-UrPSlJfMOd8xSXRmtDpqPc,9682
66
66
  mns_common/component/data/__init__.py,sha256=2U9DiKslxsWwLLEcZKjS8UiQPN1QgALvnK3HiJNIZE0,163
67
- mns_common/component/data/data_init_api.py,sha256=LGWPTDRdWCwv9ngvfgxMVm46BrX1v06jSyEVhIMfEXw,4757
67
+ mns_common/component/data/data_init_api.py,sha256=7hrXdZXSYykkDy0X3eS2SNvETBucCCMRXY7acsxeEeg,4957
68
68
  mns_common/component/deal/__init__.py,sha256=wEg73KlZo-dU0yKGwpA1C2y6LZm4IBb94tNda1tqLeg,163
69
69
  mns_common/component/deal/deal_service_api.py,sha256=XV_L8qfeTPbojmNXFjnUe-5ZTp3ADT3ett0j-gPuPVI,3806
70
70
  mns_common/component/deal/terminal_enum.py,sha256=JUkSTXLQW1fob05PCCzIBg_VKlGmqaJEa0GOvrQH6e0,275
@@ -111,7 +111,7 @@ mns_common/utils/date_handle_util.py,sha256=qkEyKLYiVq6qpKVp32MLKwRtGKVBK6AY5at2
111
111
  mns_common/utils/db_util.py,sha256=hSmfNAN4vEeEaUva6_cicZEhb2jSnib-Gvk2reke1vc,2590
112
112
  mns_common/utils/file_util.py,sha256=egWu6PenGPRp_ixrNTHKarT4dAnOT6FETR82EHUZJnQ,1042
113
113
  mns_common/utils/ip_util.py,sha256=UTcYfz_uytB__6nlBf7T-izuI7hi4XdB6ET0sJgEel4,969
114
- mns_common-1.2.4.0.dist-info/METADATA,sha256=Fqam9V-EBF-kI2jQ2MbIuqRQ8ZBTtL4wPnZ_y6wZup0,61
115
- mns_common-1.2.4.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
116
- mns_common-1.2.4.0.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
117
- mns_common-1.2.4.0.dist-info/RECORD,,
114
+ mns_common-1.2.4.1.dist-info/METADATA,sha256=S0peolvSbmcmwEmaWduuvvFyrSH583K2eLFhE4HYv9Q,61
115
+ mns_common-1.2.4.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
116
+ mns_common-1.2.4.1.dist-info/top_level.txt,sha256=ZC58kAR-8Hvc6U2xhYNBNLAh3mb6sZazbdj5nZpvEkQ,11
117
+ mns_common-1.2.4.1.dist-info/RECORD,,