Use-case for interpolation (pandas) and linear space (numpy) What is the difference between using an interpolation in the pandas package and the linear space of the numpy package? For instance in the following: import numpy as np import pandas as pd In [12]:
python - How to implement linear interpolation? - Stack Overflow The (presumably) linear affects of extrapolating off the ends may mislead you to believe that your data is well behaved Returning a non-linear result (bounded by the contents of x_list and y_list) your program's behavior may alert you to an issue for values greatly outside x_list