there, I am a newbie of python 2.7. I have a quick question about importing modules. When doing hierarchical clustering I need a module named dendrogram. I saw the coding on the internet works well which has this line: "import from scipy.cluster.hierarchy import dendrogram, linkage". However, when I changed this line to "import scipy" the code failed and the IDE displays "name linkage is not defined". Why only importing scipy does not work? Does module scipy include all modules such as dendrogram, linkage, etc?
Thank you!