title: Typecasting a numpy matrix into a string in python
body: <p>I have a m*n numpy matrix of float type. I am going to use the Counter function (from collections) to derive count of certain combination of matrix elements. On experimenting, I found that Counter() requires string value entries to iterate whereas my numpy matrix was by default a float type.</p>
  
  <p>Using dtype while declaring the numpy matrix of zeros doesnt help.</p>
  
  <p>So, I thought of converting each element of the numpymatrix into a string. But, its not working. How do i do it?</p>