Browse Source

add gevent monkey

liqian 2 years ago
parent
commit
8c319c8a5f
2 changed files with 4 additions and 0 deletions
  1. 2 0
      region_rule_rank_h.py
  2. 2 0
      region_rule_rank_h_by24h.py

+ 2 - 0
region_rule_rank_h.py

@@ -4,6 +4,8 @@
 # @Time: 2022/5/5 15:54
 # @Software: PyCharm
 
+from gevent import monkey
+monkey.patch_all()
 import gevent
 import datetime
 import pandas as pd

+ 2 - 0
region_rule_rank_h_by24h.py

@@ -4,6 +4,8 @@
 # @Time: 2022/5/5 15:54
 # @Software: PyCharm
 
+from gevent import monkey
+monkey.patch_all()
 import gevent
 import datetime
 import pandas as pd