-
Notifications
You must be signed in to change notification settings - Fork 56
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
Local G Autocorrelation causing Numba TypingError #275
Comments
Interesting... is the dtype of your input series int64? Could you try casting it to float64? |
Amazing, that was the reason for this error. Thank you for this hint! Now it's working as expected. May I suggest referring to this in the esda.G_Local docu? It only says that the |
I think that we should check the dtype and cast it ourselves under the hood if it comes as int. |
Indeed, we should do this casting to float64 ourselves for all statistics that hit the conditional inference engine |
Hey, I'm getting following error when calling
esda.getisord.G_Local(df["column"], w)
.Input params are of type
As far as I understand the input types are correct and I also don't get any dimension mismatch errors.
Unfortunately I don't really understand the error message, but it seems to me that there's sth. not working as expected with numba (
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
).Can anyone help me with this issue?
Python version: 3.11
libpysal: 4.9.2
pysal: 23.7
esda: 2.5.1
The text was updated successfully, but these errors were encountered: