I have df with the endDate column, which I want to use as my x array and discountFactor column as y array. T
df
endDate
x
discountFactor
y