title: combining 2 dataframes and make it create new lines mathemathically
body: <p>So I created 2 different DataFrame Table and integrate it to tkinter GUI.</p>
  <p>First Table looks like this;</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Entry</th>
  <th>Start</th>
  <th>Finish</th>
  <th>Total Time (Hour)</th>
  <th>Status</th>
  <th>Reason for Stoppage</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>23.05.2020 07:30</td>
  <td>23.05.2020 08:30</td>
  <td>01:00</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>2</td>
  <td>23.05.2020 08:30</td>
  <td>23.05.2020 12:00</td>
  <td>03:30</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>3</td>
  <td>23.05.2020 12:00</td>
  <td>23.05.2020 13:00</td>
  <td>01:00</td>
  <td>STOPPAGE</td>
  <td>MALFUNCTION</td>
  </tr>
  <tr>
  <td>4</td>
  <td>23.05.2020 13:00</td>
  <td>23.05.2020 13:45</td>
  <td>00:45</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>5</td>
  <td>23.05.2020 13:45</td>
  <td>23.05.2020 17:30</td>
  <td>03:45</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>And second Table looks like this;</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Start</th>
  <th>Finish</th>
  <th>Reason for Stoppage</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>10:00</td>
  <td>10:15</td>
  <td>Coffee Break</td>
  </tr>
  <tr>
  <td>12:00</td>
  <td>12:30</td>
  <td>Lunch Break</td>
  </tr>
  <tr>
  <td>15:00</td>
  <td>15:15</td>
  <td>Coffee Break</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>The main task is,combining these Tables and creating another Table.While doing that we should arrange the lines according to hours.At that time,the program has to create new lines 'itself' and show every starting/finishing hour in the Table.But I just can't do it by combining or merging them.</p>
  <p>The third graph has to look like this;</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Entry</th>
  <th>Start</th>
  <th>Finish</th>
  <th>Total Time (Hour)</th>
  <th>Status</th>
  <th>Reason for Stoppage</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>23.05.2020 07:30</td>
  <td>23.05.2020 08:30</td>
  <td>01:00</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>2</td>
  <td>23.05.2020 08:30</td>
  <td>23.05.2020 10:00</td>
  <td>01:30</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>3</td>
  <td>23.05.2020 10:00</td>
  <td>23.05.2020 10:15</td>
  <td>00:15</td>
  <td>STOPPAGE</td>
  <td>Coffee Break</td>
  </tr>
  <tr>
  <td>4</td>
  <td>23.05.2020 10:15</td>
  <td>23.05.2020 12:00</td>
  <td>01:45</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>5</td>
  <td>23.05.2020 12:00</td>
  <td>23.05.2020 12:30</td>
  <td>00:30</td>
  <td>STOPPAGE</td>
  <td>Lunch Break</td>
  </tr>
  <tr>
  <td>6</td>
  <td>23.05.2020 12:30</td>
  <td>23.05.2020 13:00</td>
  <td>00:30</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>7</td>
  <td>23.05.2020 13:00</td>
  <td>23.05.2020 13:45</td>
  <td>00:45</td>
  <td>STOPPAGE</td>
  <td>MALFUNCTION</td>
  </tr>
  <tr>
  <td>8</td>
  <td>23.05.2020 13:45</td>
  <td>23.05.2020 15:00</td>
  <td>01:15</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  <tr>
  <td>9</td>
  <td>23.05.2020 15:00</td>
  <td>23.05.2020 15:15</td>
  <td>00:15</td>
  <td>STOPPAGE</td>
  <td>Coffee Break</td>
  </tr>
  <tr>
  <td>10</td>
  <td>23.05.2020 15:15</td>
  <td>23.05.2020 17:30</td>
  <td>02:15</td>
  <td>MANUFACTURE</td>
  <td></td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>I hope I explained the problem clearly.Thanks in advance.</p>
  <pre><code>from tkinter import *
  import tkinter as tk
  from tkinter import ttk
  from pandastable import Table
  import pandas as pd
  import numpy as np
  # import style
  
  root = tk.Tk()
  
  root.title(&quot;Çalışma Ve Mola Saatleri&quot;)
  root.geometry(&quot;1800x1600&quot;)
  
  work={&quot;Entry&quot;:[&quot;1&quot;,&quot;2&quot;,&quot;3&quot;,&quot;4&quot;,&quot;5&quot;],
  &quot;Start&quot;:[&quot;23.05.2020&quot; &quot; 07:30&quot;,&quot;23.05.2020 08:30&quot;,
  &quot;23.05.2020 12:00&quot;,&quot;23.05.2020&quot; &quot; 13:00&quot;,&quot;23.05.2020 13:45&quot;],
  &quot;Finish&quot;:[&quot;23.05.2020 08:30&quot;,&quot;23.05.2020 12:00&quot;,
  &quot;23.05.2020 13:00&quot;,&quot;23.05.2020 13:45&quot;,&quot;23.05.2020 17:30&quot;],
  &quot;Total Time (Hour)&quot;:[&quot;01:00&quot;,&quot;03:30&quot;,&quot;01:00&quot;,&quot;00:45&quot;,&quot;03:45&quot;],
  &quot;Status&quot;:[&quot;MANUFACTURE&quot;,&quot;MANUFACTURE&quot;,&quot;STOPPAGE&quot;,&quot;MANUFACTURE&quot;,&quot;MANUFACTURE&quot;],
  &quot;Reason For Stoppage&quot;:[&quot; &quot;,&quot; &quot;,&quot;MALFUNCTION&quot;,&quot; &quot;,&quot; &quot;]}
  
  graph1=pd.DataFrame(work)
  
  frame=tk.Frame(root)
  frame.place(width=200)
  
  frame.pack(anchor=W,padx=100,pady=50,ipadx=120,ipady=30)
  
  
  pt=Table(frame,dataframe=graph1)
  
  pt.show()
  
  
  Break={&quot;Start&quot;:[&quot;10:00&quot;,&quot;12:00&quot;,&quot;15:00&quot;],
      &quot;Finish&quot;:[&quot;10:15&quot;,&quot;12:30&quot;,&quot;15:15&quot;],
      &quot;Reason For Stoppage&quot;:[&quot;Coffee Break&quot;,&quot;Lunch Break&quot;,&quot;Coffee Break&quot;]}
  
  
  graph2=pd.DataFrame(Break)
  
  frame2=tk.Frame(root)
  frame2.place(width=100,height=50)
  frame2.pack(anchor=NE,padx=150,ipadx=20,ipady=10)
  
  pt2=Table(frame2,dataframe=graph2)
  
  pt2.show()
  
  
  
  graph3=pd.concat([graph1,graph2])
  frame3=tk.Frame(root)
  frame3.place()
  frame3.pack(anchor=SW,padx=100,ipadx=120,ipady=500)
  
  pt3=Table(frame3,dataframe=graph3)
  
  pt3.show()
  
  
  
  
  root.mainloop()
  </code></pre>