I have a data frame, is it possible to get a matrix with rows as the name of the fruits and the values as the frequency of that fruit?

```
       a       b       c
0  apple  orange  banana
1   kiwi  orange  orange
2   kiwi  banana   apple

```

---

[Output:]

```
--------------------------------
|       |  a   |   b  |   c    |
--------------------------------
|apple  |  1   |   0  |   1    |
|orange |  0   |   2  |   1    |
|kiwi   |  2   |   0  |   0    |
|banana |  0   |   1  |   1    | 
-------------------------------|

```