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