parameters: (obj)
docstring: Check is a number or not, include numpy number etc.
docstring_summary: Check is a number or not, include numpy number etc.
docstring_tokens: Check is a number or not include numpy number etc .
function: def is_numeric(obj):
      """Check is a number or not, include numpy number etc."""
      try:
          float(obj)
          return True
      except (TypeError, ValueError):
          # TypeError: obj is not a string or a number
          # ValueError: invalid literal
          return False
function_tokens: def is_numeric ( obj ) : try : float ( obj ) return True except ( TypeError , ValueError ) : # TypeError: obj is not a string or a number # ValueError: invalid literal return False