def _missing_warn():
 warnings.warn('One of the clusters is empty. Re-run kmean with a different initialization.')

def _missing_warn ( ) : warnings . warn ( 'One of the clusters is empty. Re-run kmean with a different initialization.' )
print a warning when called .