GenAICoder commited on
Commit
cfcc0d3
·
verified ·
1 Parent(s): e339735

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py CHANGED
@@ -2,6 +2,13 @@
2
 
3
  import pandas as pd
4
 
 
 
 
 
 
 
 
5
  from analytics.monitoring_analysis import (
6
  generate_monitoring_table
7
  )
@@ -17,6 +24,17 @@ acq = pd.read_csv("data/acquisition.csv")
17
  perf = pd.read_csv("data/performance.csv")
18
 
19
 
 
 
 
 
 
 
 
 
 
 
 
20
  # Example 1
21
  channel_mix = calculate_count_mix(
22
  acq,
 
2
 
3
  import pandas as pd
4
 
5
+
6
+ from helper.vintage_helpers import(
7
+ create_booking_vintage,
8
+ merge_acq_perf
9
+ )
10
+
11
+
12
  from analytics.monitoring_analysis import (
13
  generate_monitoring_table
14
  )
 
24
  perf = pd.read_csv("data/performance.csv")
25
 
26
 
27
+ acq= create_booking_vintage(
28
+ acq,
29
+ booking_date_col="booking_date"
30
+ )
31
+
32
+ perf = merge_acq_perf(
33
+ acq,
34
+ perf
35
+ )
36
+
37
+
38
  # Example 1
39
  channel_mix = calculate_count_mix(
40
  acq,