The SciPy library through its module clustering, provides several functions to perform clustering of n-dimensional data.