We are receiving the above error as we have null values present in the dataset.
Hence to overcome this error we need to find the null values and then remove it.
To find the null values
To remove the null values.
After that you try to perform KMeans it will work.