title: numpy bytes to plain string
body: <p>I have a numpy array <code>X</code> with <code>dtype 'S' (numpy.bytes_)</code>. For example printing <code>print(X[0, 0])</code> yields <code>b'somestring'</code>. Similarly <code>str(X[0, 0])</code> returns string <code>"b'somestring'"</code>.</p>
  
  <p>However I need to print or convert to string so that it does not contain <code>b'</code> at the beginning and <code>'</code> at the end. I just want to print <code>somestring</code> or return a string <code>"somestring"</code>. How to do it?</p>
  
  <p>Note: I cannot change the type of the array.</p>