def _bytesChr(i):
    if _PY3:
        return bytes([i])
    else:
        return chr(i)
Set a named field to particular array value.
dataset/ETHPy150Open twisted/twisted/twisted/python/compat.py/_bytesChr--crossover with--dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/bnpy/suffstats/ParamBag.py/ParamBag.setField