![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fp4PqP%2Fbtr93ln2xkD%2FJR9rl8K8Y921qKMkyGUGu1%2Fimg.png)
파이썬/Numpy
[Python] AttributeError: 'NoneType' object has no attribute 'split'
1. 증상 Numpy 와 Kmeans를 같이 사용하면 다음과 같은 오류가 발생하였다.. import numpy as np from sklearn.cluster import KMeans allLocations = np.array([[1, 2], [1, 4], [1, 0], [10, 2], [10, 4], [10, 0]]) kmeanModel = KMeans(n_clusters=2, random_state=0) kmeanModel.fit(allLocations) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Cell In[40], l..