cudf.core.column.string.StringMethods.hex_to_int#
- StringMethods.hex_to_int() SeriesOrIndex #
Returns integer value represented by each hex string. String is interpreted to have hex (base-16) characters.
- Returns
- Series/Index of str dtype
Examples
>>> import cudf >>> s = cudf.Series(["1234", "ABCDEF", "1A2", "cafe"]) >>> s.str.htoi() 0 4660 1 11259375 2 418 3 51966 dtype: int64