You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 6, 2022. It is now read-only.
when i use command python emit_to_AWS_IoT.py sim_pred_maint_emit.csv from guild is have a miss take
Traceback (most recent call last):
File "mtrand.pyx", line 1111, in mtrand.RandomState.choice (numpy\random\mtrand\mtrand.c:16976)
TypeError: 'dict_keys' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\4D\aws\emit_to_AWS_IoT.py", line 41, in
emit_to_iot(args.datafile)
File "e:\4D\aws\emit_to_AWS_IoT.py", line 23, in emit_to_iot
group = np.random.choice(list_of_groups.keys())
File "mtrand.pyx", line 1113, in mtrand.RandomState.choice (numpy\random\mtrand\mtrand.c:17060)
ValueError: a must be 1-dimensional or an integer