Commit c59539d4 by chenyuanjie

Merge branch 'developer' of http://47.106.101.75/abel_cjy/Amazon-Selection-Data into developer

parents 7839ed18 482c47ba
......@@ -272,7 +272,7 @@ class Templates(object):
self.year = tuple(df_week.year)[0]
self.month = tuple(df_week.month)[0]
print(f"self.year:{self.year}, self.month:{self.month}")
if self.date_type in ['month', 'month_old', 'month_week']:
if self.date_type in ['month', 'month_old', 'month_week', 'month_aba_me']:
self.year_month = self.date_info
self.year, self.month = self.year_month.split("-")[0], self.year_month.split("-")[1]
df_month = df.loc[df.year_month == self.year_month]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment