I have a Pandas dataframe with the following format:
Frequency | Value
1 10 2.8
2 20 2.5
3 30 2.2
4 40 2.3
I want to use pandas.DataFrame.interpolate
in order to add a line at frequency 35 with a value interpolated linearly between frequencies 30 and 40.
In the user manual the example shows how to replace a Nan but not how to add values in between others (Pandas doc).
What would be the best way to proceed ?