cyberosa commited on
Commit
0888995
·
1 Parent(s): ecbf9c9

fixing time conversion

Browse files
Files changed (1) hide show
  1. tabs/retention_plots.py +1 -1
tabs/retention_plots.py CHANGED
@@ -8,7 +8,7 @@ from matplotlib.ticker import PercentFormatter
8
 
9
 
10
  def plot_wow_retention_by_type(wow_retention):
11
- wow_retention["week"] = pd.to_datetime(wow_retention["week"])
12
  wow_retention = wow_retention.sort_values(["trader_type", "week"])
13
  fig = px.line(
14
  wow_retention,
 
8
 
9
 
10
  def plot_wow_retention_by_type(wow_retention):
11
+ wow_retention["week"] = pd.to_datetime(wow_retention["week"], format="%b-%d-%Y")
12
  wow_retention = wow_retention.sort_values(["trader_type", "week"])
13
  fig = px.line(
14
  wow_retention,