I do not have access to the right _hierarchy.py source file
Peter Otten
__peter__ at web.de
Sun May 17 12:47:43 EDT 2015
pegah Aliz wrote:
> To solve this problem, I checked linkage() function and inside it I needed
> to check _hierarchy.linkage() method. I use pycharm text editor and when I
> asked for "linkage" source code, it opened up a python file namely
> "_hierarchy.py" inside the directory like the following:
>
> .PyCharm40/system/python_stubs/-1247972723/scipy/cluster/_hierarchy.py
>
> This python file doesn't have any definition for all included functions.
> I am wondering what is the correct source of this function to revise it
> and solve my problem. I would be appreciated if someone helps me to
> explore the correct source.
The actual _hierarchy module is probably written in C. Before you turn to
hacking that you should ask for advice on a scipy news group or mailing
list. Perhaps the experts can point you to a better way to approach the
underlying problem.
More information about the Python-list
mailing list