ENH: cluster analysis and more