XPMaster commited on
Commit
479e4dd
·
1 Parent(s): 4655ed4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -198,7 +198,7 @@ def fill_missing_quarters(df, lob, acc, transaction):
198
  df[col] = df[col].apply(lambda x: str(int(x)) if isinstance(x, (int, float)) and str(x) != 'nan' else str(x))
199
  quarters = []
200
  start_year = 2017
201
- end_year = min(int(df[acc].max()[:4]), 2022)
202
  for year in range(start_year, end_year+1):
203
  for quarter in ['03', '06', '09', '12']:
204
  quarters.append(str(year) + quarter)
 
198
  df[col] = df[col].apply(lambda x: str(int(x)) if isinstance(x, (int, float)) and str(x) != 'nan' else str(x))
199
  quarters = []
200
  start_year = 2017
201
+ end_year = min(int(df[acc].max()[:4]), 2025)
202
  for year in range(start_year, end_year+1):
203
  for quarter in ['03', '06', '09', '12']:
204
  quarters.append(str(year) + quarter)