How to find the intersection points in two lists of numbers that do not necessarily have any but the lines do intersect at some point
lst0 = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
lst1 = [2,4,1,4,1,5,7,8,3,2,4,7,8,2,1]
lst2 = [9,1,3,7,8,2,0,1,2,5,9,3,5,2,6]
data = {"index":lst0,
"list1":lst1,
"list2":lst2}
df = pd.DataFrame(data)
print (df.head(5))
the points of the first line are (1,2)(2,4) the points of the second line are (1,9)(2,1)
the intersection point should be around (0.5,3)
does pandas have anything to do so, I tried intersection but I don't think it covers my goal