MCPcopy Create free account
hub / github.com/numpy/numpy / isdecimal

Method isdecimal

numpy/core/defchararray.py:2717–2727  ·  view source on GitHub ↗

For each element in `self`, return True if there are only decimal characters in the element. See Also -------- char.isdecimal

(self)

Source from the content-addressed store, hash-verified

2715 return isnumeric(self)
2716
2717 def isdecimal(self):
2718 """
2719 For each element in `self`, return True if there are only
2720 decimal characters in the element.
2721
2722 See Also
2723 --------
2724 char.isdecimal
2725
2726 """
2727 return isdecimal(self)
2728
2729
2730@set_module("numpy.char")

Callers 2

failMethod · 0.80
test_isdecimalMethod · 0.80

Calls 1

isdecimalFunction · 0.85

Tested by 2

failMethod · 0.64
test_isdecimalMethod · 0.64