Pragya Jatav commited on
Commit
549587a
·
1 Parent(s): 900960f
Files changed (2) hide show
  1. Streamlit_functions.py +3 -3
  2. summary_df.pkl +1 -1
Streamlit_functions.py CHANGED
@@ -760,7 +760,7 @@ def channel_contribution(start_date,end_date):
760
 
761
 
762
  fig.add_annotation(
763
- text=f"{cur_data['Date'].min().strftime('%m-%d-%Y')} to {cur_data['Date'].max().strftime('%m-%d-%Y')}",
764
  x=0,
765
  y=1.15,
766
  xref="x domain",
@@ -828,7 +828,7 @@ def chanel_spends(start_date,end_date):
828
  )
829
  )
830
  fig.add_annotation(
831
- text=f"{cur_data['Date'].min().strftime('%m-%d-%Y')} to {cur_data['Date'].max().strftime('%m-%d-%Y')}",
832
  x=0,
833
  y=1.15,
834
  xref="x domain",
@@ -979,7 +979,7 @@ def cpp(start_date,end_date):
979
  hovermode='x' # Show hover info for all lines at a single point
980
  )
981
  fig.add_annotation(
982
- text=f"{cur_data['Date'].min().strftime('%m-%d-%Y')} to {cur_data['Date'].max().strftime('%m-%d-%Y')}",
983
  x=0,
984
  y=1.15,
985
  xref="x domain",
 
760
 
761
 
762
  fig.add_annotation(
763
+ text=f"{start_date.strftime('%m-%d-%Y')} to {end_date.strftime('%m-%d-%Y')}",
764
  x=0,
765
  y=1.15,
766
  xref="x domain",
 
828
  )
829
  )
830
  fig.add_annotation(
831
+ text=f"{start_date.strftime('%m-%d-%Y')} to {end_date.strftime('%m-%d-%Y')}",
832
  x=0,
833
  y=1.15,
834
  xref="x domain",
 
979
  hovermode='x' # Show hover info for all lines at a single point
980
  )
981
  fig.add_annotation(
982
+ text=f"{start_date.strftime('%m-%d-%Y')} to {end_date.strftime('%m-%d-%Y')}",
983
  x=0,
984
  y=1.15,
985
  xref="x domain",
summary_df.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:01b3193c6c809623ba5c8c76bb74b4583886310b8e7e7d4e35e17bdd63fa37d7
3
  size 1822
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:255af9ce093cfb8f8fb37e93fdf9247865225c6dcc76929a6133a9e7978d49ff
3
  size 1822