How to Solve NameError: name 'griddata' is not defined -- scipy
Solution: Import the 'griddata' module
To Solve the error, add the following line to the top of your code.
from scipy.interpolate import griddata
For more information:
Python scipy griddata