Hello everyone I got a question about creating a data visualization using python. I got this following data like this
index trk rbegin rend suffix prefix id
0 STWOS 130.30 129.00 NaN H 1
1 missing 129.00 128.00 NaN H 1
2 STWOS 128.00 125.61 NaN H 1
3 missing 125.61 125.00 NaN H 1
4 STWS 125.00 121.37 NaN H 1
5 STWOS 121.37 114.50 NaN H 1
6 DTWOS 114.50 106.84 NaN H 1
7 STWOS 106.84 101.50 NaN H 1
8 STWS 101.50 98.57 NaN H 1
9 STWOS 98.57 92.18 NaN H 1
10 STWS 92.18 90.25 NaN H 1
11 STWOS 90.25 86.00 NaN H 1
12 DTWOS 86.00 81.00 NaN H 1
13 STWOS 81.00 78.59 NaN H 1
14 STWS 78.59 75.07 NaN H 1
15 STWOS 75.07 69.71 NaN H 1
16 STWS 69.71 67.78 NaN H 1
17 STWOS 67.78 60.60 NaN H 1
18 STWS 60.60 58.00 NaN H 1
19 STWOS 58.00 55.40 NaN H 1
20 STWS 55.40 53.31 NaN H 1
21 STWOS 53.31 47.96 NaN H 1
22 STWS 47.96 45.00 NaN H 1
23 STWOS 45.00 43.05 NaN H 1
24 STWS 43.05 40.29 NaN H 1
Basically I am trying to create a graph. It is a bunch of vertical from the rbegin to rend. If the trk is STWOS it is just a black line from rbegin to rend. If the trck is missing it is a black dashed line. if the trk is dtwos it is two parallel black lines.