TypeError: 'DataFrame' objects are mutable, thus they cannot be hashed
#### Code Sample, a copy-pastable example if possible

```python
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'])

```
#### Problem description

My Dataset is like

                                              labels  \
0       0
0    2
1    2
2    2
3    2
4    3
5   ...   

                                           varieties  
0       0
0    1
1    1
2    1
3    1
4    1
5   ...  

#### Expected Output

#### output from "crosstab" function

<details>]
# TypeError: 'DataFrame' objects are mutable, thus they cannot be hashed

</details>
