Upload 2 files
Browse files- utilities.py +1 -1
- utilities_with_panel.py +1 -1
utilities.py
CHANGED
@@ -206,7 +206,7 @@ def panel_level(input_df, date_column="Date"):
|
|
206 |
|
207 |
|
208 |
def initialize_data(
|
209 |
-
panel=None, target_file=r"
|
210 |
):
|
211 |
# uopx_conv_rates = {'streaming_impressions' : 0.007,'digital_impressions' : 0.007,'search_clicks' : 0.00719,'tv_impressions' : 0.000173,
|
212 |
# "digital_clicks":0.005,"streaming_clicks":0.004,'streaming_spends':1,"tv_spends":1,"search_spends":1,
|
|
|
206 |
|
207 |
|
208 |
def initialize_data(
|
209 |
+
panel=None, target_file=r"Overview_data_test_panel@#revenue.xlsx", updated_rcs=None, metrics=None
|
210 |
):
|
211 |
# uopx_conv_rates = {'streaming_impressions' : 0.007,'digital_impressions' : 0.007,'search_clicks' : 0.00719,'tv_impressions' : 0.000173,
|
212 |
# "digital_clicks":0.005,"streaming_clicks":0.004,'streaming_spends':1,"tv_spends":1,"search_spends":1,
|
utilities_with_panel.py
CHANGED
@@ -399,7 +399,7 @@ def initialize_data(target_col,selected_markets):
|
|
399 |
# excel = pd.read_excel("data_test_overview_panel.xlsx",sheet_name=None)
|
400 |
#excel = pd.read_excel(r"metrics_level_data\Overview_data_test_panel@#revenue.xlsx" + target_col + ".xlsx",sheet_name=None)
|
401 |
|
402 |
-
excel = pd.read_excel(r"
|
403 |
|
404 |
raw_df = excel['RAW DATA MMM']
|
405 |
|
|
|
399 |
# excel = pd.read_excel("data_test_overview_panel.xlsx",sheet_name=None)
|
400 |
#excel = pd.read_excel(r"metrics_level_data\Overview_data_test_panel@#revenue.xlsx" + target_col + ".xlsx",sheet_name=None)
|
401 |
|
402 |
+
excel = pd.read_excel(r"Overview_data_test_panel@#revenue.xlsx",sheet_name=None)
|
403 |
|
404 |
raw_df = excel['RAW DATA MMM']
|
405 |
|