Return true where every character is a Unicode decimal digit (Nd
general category) and the string is non-empty. Matches
numpy.strings.isdecimal — stricter than isdigit in that
superscripts (e.g. ²) and other “digit” characters that are not
decimal-digit characters return false.
Return true where the string could be a valid numeric literal.
Matches numpy.strings.isnumeric (simplified — checks for
ASCII digit + decimal point + sign characters).