How to Solve NameError: name 'zscore' is not defined -- scipy

Solution: Import the 'zscore' module

To Solve the error, add the following line to the top of your code.

from scipy.stats import zscore

 

For more information:
Python scipy zscore