'Im trying to plot 2 lines in one graph that exist in the same column using matplotlib

the values exist in one column and I would like to display them both on the same graph rather than an 2 separate ones https://i.stack.imgur.com/g1YB0.png https://i.stack.imgur.com/Uyal5.png



Solution 1:[1]

plt.plot(x, y)
plt.plot(x2, y2)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anonymous4045