infer_inds_dtype

infer_inds_dtype(max_size): 

LLM Docstring

Choose the smallest unsigned integer dtype that can represent a value up to max_size.

  • max_size: int

    the largest (non-negative) value to represent

  • :returns: np.dtype

    the minimal scalar dtype


Feedback

Examples

Templates

Documentation