-
Notifications
You must be signed in to change notification settings - Fork 63
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
@jit TypingError #278
Comments
Edit: It's just a full on JIT issue. I can't even slice. I'll try another computer tomorrow. Was running pynapple 0.6.1 btw, upgraded to 0.6.4, to no effect. File ~/miniconda3/envs/JLabToNWB/lib/python3.8/site-packages/pynapple/core/time_series.py:105, in BaseTsd.init(self, t, d, time_units, time_support) File ~/miniconda3/envs/JLabToNWB/lib/python3.8/site-packages/numba/core/dispatcher.py:468, in _DispatcherBase._compile_for_args(self, *args, **kws) File ~/miniconda3/envs/JLabToNWB/lib/python3.8/site-packages/numba/core/dispatcher.py:409, in _DispatcherBase._compile_for_args..error_rewrite(e, issue_type) TypingError: Failed in nopython mode pipeline (step: nopython frontend) File "../../../../../../../home/jmo/miniconda3/envs/JLabToNWB/lib/python3.8/site-packages/pynapple/core/_jitted_functions.py", line 5: @jit(nopython=True) |
I've narrowed it down using slices of the df that I use to create the TsdFrame to learn that it is 1 column in particular causing the failure. It is a boolean column, but there are other boolean columns that do not fail. Do you have any suggestions on what is occurring here? |
It looks like it's a problem with a dtype that numba doesn't like. Is movement_tsdf a mixed dtype dataframe? |
Yes. Here are the details. Do you have any insight to what causes the JIT issues when creating variables? I cannot see a difference between the offending column and it's neighbor, but perhaps I'm not looking at the correct property?
|
Can you share a small version of your data frame? |
I'm having issues using restrict with a tsdFrame - it works on the sample code, but not my real object, due to a jit typing error. I'm having a difficult time figuring out what's going on. Any help would be appreciated.
Ex:
start end
shape: (0, 2), time unit: sec.
TypingError
The obj looks like this:
movement_tsdf
dtype: object, shape: (215173, 14)
The text was updated successfully, but these errors were encountered: