title: How to combine two Dataframes and plot data as one line using plotly-express
body: <p>I'm trying to plot a line graph of two datasets that each contain the values <code>'date'</code>, <code>'conversions'</code>, and <code>'cpi'</code> as one line. The graph displays a daily count of the values, so I'm having problems dealing with properly graphing the values of each data set on the same day:</p>
  <p><a href="https://i.stack.imgur.com/SzlVB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SzlVB.png" alt="enter image description here" /></a></p>
  <p>Sample Data:</p>
  <pre class="lang-py prettyprint-override"><code>          date  conversions           cpi
  0   2020-11-02          0.0  0.000000e+00
  1   2020-11-03          0.0  0.000000e+00
  2   2020-11-04          0.0  0.000000e+00
  3   2020-11-05          0.0  0.000000e+00
  4   2020-11-06          3.0  6.333000e-01
  5   2020-11-07          0.0  0.000000e+00
  6   2020-11-08          0.0  0.000000e+00
  7   2020-11-09          0.0  0.000000e+00
  8   2020-11-10          0.0  0.000000e+00
  9   2020-11-11          2.0  1.695000e+00
  10  2020-11-12          0.0  0.000000e+00
  11  2020-11-13          2.0  2.170000e+00
  12  2020-11-14          0.0  0.000000e+00
  13  2020-11-15          1.0  2.590000e+00
  14  2020-11-16          2.0  2.670000e+00
  0   2020-11-02          5.0  2.039435e+06
  1   2020-11-03          6.0  2.788452e+06
  2   2020-11-04          8.0  1.720630e+06
  3   2020-11-05          8.0  2.038703e+06
  4   2020-11-06         11.0  1.775534e+06
  5   2020-11-07         14.0  1.810215e+06
  6   2020-11-08         30.0  1.617934e+06
  7   2020-11-09         27.0  1.784663e+06
  8   2020-11-10         32.0  1.368291e+06
  9   2020-11-11          4.0  5.293594e+06
  10  2020-11-12         17.0  1.524248e+06
  11  2020-11-13         20.0  2.437085e+06
  12  2020-11-14         24.0  2.272977e+06
  13  2020-11-15         38.0  1.848160e+06
  14  2020-11-16         22.0  2.415721e+06
  </code></pre>
  <p>My code is:</p>
  <pre><code>asa_installs_time = get_installs_time(start_date, end_date)
  ga_installs_time = get_GAinstalls_time(start_date, end_date)
  asa_installsTime_df = pd.DataFrame.from_dict(asa_installs_time[1])
  ga_installsTime_df = pd.DataFrame.from_dict(ga_installs_time)
  all_installsTime_df = pd.concat([ga_installsTime_df, asa_installsTime_df])
  installs_time_series_chart = px.line( all_installsTime_df, x= all_installsTime_df['date'], all_installsTime_df['conversions'], title='Installs per Day')
  
  return [all_installsTime_df]
  </code></pre>
  <p>How can I fix the issue where two of the same dates are graphed?</p>
  <p><strong>EDIT</strong></p>
  <p>Using <code>all_installsTime_df = all_installsTime_df.sort_values('date').reset_index(drop=True)</code>:
  <a href="https://i.stack.imgur.com/m4rC7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m4rC7.png" alt="enter image description here" /></a></p>