파이썬/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..