The user @GrantD71 seems to have implemented a GWD in python through hard-coding using Numpy/Scipy. He asked for library/package to perform GWD but the best reply was given using an R package. I'm looking for a python library for GWD.

I looked in Scipy Docs and (almost) exhaustively googled it with no success. I found pygwr, but not sure if it's a completely developed and tested project. I even figured out how to install it and used it.

Does exists a wide-spread python library used for GWR? What is the most beneficial way (without the need of hard-coding) to perform it in python?

  • pygwr seems to be the standard in my cursory google search, you could always try pygwr and then implement it in another program to check the results...
    – GISHuman
    Commented Apr 28, 2017 at 1:11
  • @GrantD71, have you found such a library?
    – Jecogeo
    Commented Apr 28, 2017 at 13:16

1 Answer 1


There is a solution implemented in Python. I did not try; however, there are well-documented notebooks with examples. Let me know if they work.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.