Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: ufunc 'isnan' not supported for the input types #447

VargBurz opened this Issue Feb 28, 2019 · 0 comments


None yet
1 participant
Copy link

VargBurz commented Feb 28, 2019

analytics_1  |   File "bin/../analytics/", line 94, in handle_analytic_task
analytics_1  |     result_payload = await self.__handle_analytic_task(task)
analytics_1  |   File "bin/../analytics/", line 76, in __handle_analytic_task
analytics_1  |     res = await worker.recieve_data(data, payload['cache'])
analytics_1  |   File "bin/../analytics/", line 59, in recieve_data
analytics_1  |     detect_results = await self._recieve_feature
analytics_1  |   File "/usr/local/lib/python3.6/concurrent/futures/", line 56, in run
analytics_1  |     result = self.fn(*self.args, **self.kwargs)
analytics_1  |   File "bin/../analytics/detectors/", line 77, in recieve_data
analytics_1  |     res = self.detect(, cache)
analytics_1  |   File "bin/../analytics/detectors/", line 54, in detect
analytics_1  |     detected = self.model.detect(dataframe, cache)
analytics_1  |   File "bin/../analytics/models/", line 93, in detect
analytics_1  |     result = self.do_detect(dataframe)
analytics_1  |   File "bin/../analytics/models/", line 72, in do_detect
analytics_1  |     watch_data = utils.subtract_min_without_nan(watch_data)
analytics_1  |   File "bin/../analytics/utils/", line 200, in subtract_min_without_nan
analytics_1  |     nan_list = utils.find_nan_indexes(segment)
analytics_1  |   File "bin/../analytics/utils/", line 133, in find_nan_indexes
analytics_1  |     nan_list = np.isnan(segment)
analytics_1  | TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.