How to Solve NameError: name 'njit' is not defined -- numba

Solution: Import the 'njit' module

# Add the following line to the top of your code
from numba import njit

 

For more information:
numba njit