留存title

This commit is contained in:
wuaho 2021-11-25 12:01:11 +08:00
parent 024c7892c6
commit b4ed73eb64

View File

@ -779,8 +779,8 @@ ORDER BY values desc"""
days = (arrow.get(self.end_date).date() - arrow.get(self.start_date).date()).days
keep = []
cnt = []
retention_n = [*[k for k in range(1, 61)], 70, 75, 80, 85, 90, 95, 100, 110, 120, 150, 180, 210, 240, 270, 300,
360]
retention_n = [*[k for k in range(1, 60)], 70-1, 75-1, 80-1, 85-1, 90-1, 95-1, 100-1, 110-1, 120-1, 150-1, 180-1, 210-1, 240-1, 270-1, 300-1,
360-1]
"""
cnt0-cnt1 as on1,