xarray.DataArray.str.isnumeric

DataArray.str.isnumeric()

Check whether all characters in each string are numeric.

Returns

isnumeric – Array of boolean values with the same shape as the original array.

Return type

array of bool