fix bug
This commit is contained in:
@@ -78,6 +78,8 @@ def calcByOffice(city, district, office_name):
|
||||
"type": "Point",
|
||||
"coordinates": [office['lng'] / math.pow(10, 10), office['lat'] / math.pow(10, 10)]
|
||||
}
|
||||
if "p_date" not in sample.columns:
|
||||
sample['p_date'] = None
|
||||
|
||||
date_range = pd.date_range(start=one_year_time, end=year_time, freq='M')
|
||||
for date in date_range:
|
||||
|
||||
Reference in New Issue
Block a user