I have a dataframe
data=pd.DataFrame({'data1':[10,20,30], 'data2':[15,25,35], 'data3':[20,30,40], 'data3':[25,35,35]})
I wanted to interpolate between the rows, depending on my input n. here n=2
so my new_data must constain n*len(data)
As I tried np.linspace but I am getting new length as n*len(data)-1