When I run to the step of Compute FRIGHT age for all animals, an error pops up

TypeError Traceback (most recent call last)
in
----> 1 frightControl = frightAge.predict(controlData[frightVariables])
2 frightMr = frightAge.predict(mrData[frightVariables])
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/ensemble/forest.py in predict(self, X)
679
680 # Assign chunk of trees to jobs
--> 681 n_jobs, _, _ = _partition_estimators(self.n_estimators, self.n_jobs)
682
683 # avoid storing the output of every estimator by summing them here
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/ensemble/base.py in _partition_estimators(n_estimators, n_jobs)
151 """Private function used to partition estimators between jobs."""
152 # Compute the number of jobs
--> 153 n_jobs = min(_get_n_jobs(n_jobs), n_estimators)
154
155 # Partition estimators between jobs
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/utils/init.py in _get_n_jobs(n_jobs)
462 ValueError: Parameter n_jobs == 0 has no meaning.
463 """
--> 464 if n_jobs < 0:
465 return max(cpu_count() + 1 + n_jobs, 1)
466 elif n_jobs == 0:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
I hope you can take the time to answer
When I run to the step of Compute FRIGHT age for all animals, an error pops up

TypeError Traceback (most recent call last)
in
----> 1 frightControl = frightAge.predict(controlData[frightVariables])
2 frightMr = frightAge.predict(mrData[frightVariables])
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/ensemble/forest.py in predict(self, X)
679
680 # Assign chunk of trees to jobs
--> 681 n_jobs, _, _ = _partition_estimators(self.n_estimators, self.n_jobs)
682
683 # avoid storing the output of every estimator by summing them here
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/ensemble/base.py in _partition_estimators(n_estimators, n_jobs)
151 """Private function used to partition estimators between jobs."""
152 # Compute the number of jobs
--> 153 n_jobs = min(_get_n_jobs(n_jobs), n_estimators)
154
155 # Partition estimators between jobs
~/opt/anaconda3/envs/test_py/lib/python3.6/site-packages/sklearn/utils/init.py in _get_n_jobs(n_jobs)
462 ValueError: Parameter n_jobs == 0 has no meaning.
463 """
--> 464 if n_jobs < 0:
465 return max(cpu_count() + 1 + n_jobs, 1)
466 elif n_jobs == 0:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
I hope you can take the time to answer