def to_ctypes(dtype):
  if dtype in _to_ctypes:
    return _to_ctypes[dtype]
  else:
    raise RuntimeError("No conversion from %s to ctypes" % dtype)
Give the ctypes representation for each numpy scalar type. 
dataset/ETHPy150Open iskandr/parakeet/parakeet/ndtypes/dtypes.py/to_ctypes