I have a DataFrame that logs hours based on Employee:
import pandas as pd
data = [['Jack', 0, 6], ['Jack', 8, 12],['Barry', 0, 5], ['Barry', 7, 15]]
df = pd.DataFrame(data, columns=['Employee', 'Start', 'End'])
Employee Start End
0 Jack 0 6
1 Jack 8 12
2 Barry 0 5
3 Barry 7 15
How can I plot out the work intervals where the x axis is time and the y axis is for the employee key using pyplot? To arrive at something like this where the bars are numbered with start/end times.

