def get_human_readable_type(item):
 if isinstance(item, (ndarray, MaskedArray)):
  return item.dtype.name
 elif isinstance(item, Image):
  return 'Image'
 else:
  text = get_type_string(item)
  if (text is None):
   text = to_text_string('unknown')
  else:
   return text[(text.find('.') + 1):]

def get_human_readable_type ( item ) : if isinstance ( item , ( ndarray , MaskedArray ) ) : return item . dtype . name elif isinstance ( item , Image ) : return 'Image' else : text = get_type_string ( item ) if ( text is None ) : text = to_text_string ( 'unknown' ) else : return text [ ( text . find ( '.' ) + 1 ) : ]
return human-readable type string of an item .