title: How to put non existing value of a time series DataFrame at 0
body: <p>I have a DataFrame that looks like this:</p>
  <pre class="lang-py prettyprint-override"><code>import pandas as pd
  import plotly.express as px
  </code></pre>
  <pre><code>df
            time             Feature_1   
  1  03/01/2022 08:32:00       4562.2       
  2  03/01/2022 08:32:11       4578.3       
  3  03/01/2022 08:32:22       4602.4
  4  03/01/2022 08:32:33       4567.3 
  5  03/01/2022 08:32:44       4702.9
  6  03/01/2022 08:32:55       4756.4
  7  07/01/2022 16:32:00       4006.7
  8  07/01/2022 16:32:11       4025.8
  9  08/01/2022 08:30:00       5789.1
  10 08/01/2022 08:30:11       5794.3
  11 08/01/2022 08:30:22       4893.4
  
  </code></pre>
  <p>I'm using <code>plotly</code> :</p>
  <pre class="lang-py prettyprint-override"><code>fig = px.line(df.reset_index(), x='time', y='Feature_1', title='Pressure')
  #slider
  fig.update_xaxes(
      rangeslider_visible = True,
  )
  fig.update_layout(title_text='Pressure', title_x=0.5)
  fig.update_xaxes(
          tickangle = 0,
          title_text = &quot;Date&quot;,
          title_font = {&quot;size&quot;: 15},
          title_standoff = 10)
  fig.update_yaxes(
          tickangle = 0,
          title_text = &quot;Pression&quot;,
          title_font = {&quot;size&quot;: 15},
          title_standoff = 10)
  fig.show()
  </code></pre>
  <p>Between index 6 and 7, 3 days are missing, and between index 8 and 9, 16 hours are missing. When I plot my DataFrame, there is a line that connects the value of <code>feature_1</code> at index 6 to the value at index 7, and the value at  index 8 to the value at index 9.</p>
  <p>How am I supposed to put all value between 2 non speciafied timestamp at 0?</p>
  <p>I thought I could <code>resample</code> my DataFrame cause the main goal is to forecast my time series. But the problem is that I want to keep the time delta at 11secondes, which is ok for the first 6 index, but it will modify the following indexes.</p>