优化范围统计
This commit is contained in:
@@ -90,14 +90,14 @@ def stat(community_summary_df):
|
||||
|
||||
|
||||
def detail(city):
|
||||
if ',' in city:
|
||||
cities = city.split(',')
|
||||
else:
|
||||
cities = [city]
|
||||
"""
|
||||
计算消费潜力
|
||||
"""
|
||||
if pd.notna(city):
|
||||
if ',' in city:
|
||||
cities = city.split(',')
|
||||
else:
|
||||
cities = [city]
|
||||
query = {
|
||||
"bool": {
|
||||
"must": [
|
||||
|
||||
Reference in New Issue
Block a user