pydl.pydlutils
pydl.pydlutils.misc.
decode_mixed
Convert bytes in Numpy arrays into strings. Leave other stuff alone.
x : object
Input object.
object
If x has a decode() method, x.decode() will be returned. Otherwise x will be returned unchanged.
x
decode()
x.decode()