title: TypeError: 'DataFrame' objects are mutable, thus they cannot be hashed
body: <p>My Code:</p>
  
  <pre><code>samples = pd.read_csv("https://archive.ics.uci.edu/ml/machine-learning-databases/wine/wine.data", sep=',',header=None)
  varieties = pd.DataFrame(samples.iloc[:,0])
  kmeans = KMeans(n_clusters = 3)
  labels = kmeans.fit_predict(samples)
  #setting 'labels' according to given data
  labels += 1
  #converting 'labels' to pandas DataFrame
  labels = pd.DataFrame(labels)
  df = pd.DataFrame({'labels':[labels], 'varieties':[varieties]})
  ct = pd.crosstab(df['labels'],df['varieties'])
  </code></pre>
  
  <p>I want to use these dataframes (labels and varieties) for 'crosstab' function.
  Please do let me know how I can do that?</p>