def default_missing_value_for_dtype(dtype):
    """
    Get the default fill value for `dtype`.
    """
    try:
        return _FILLVALUE_DEFAULTS[dtype]
    except KeyError:
        raise NoDefaultMissingValue(
            "No default value registered for dtype %s." % dtype
        )
dataset/ETHPy150Open quantopian/zipline/zipline/utils/numpy_utils.py/default_missing_value_for_dtype/original