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