Skip to main content

isdecimal

Function isdecimal 

Source
pub fn isdecimal<D: Dimension>(
    a: &StringArray<D>,
) -> FerrayResult<Array<bool, D>>
Expand description

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.