code: def isnumeric(ds):
      """Has a numeric measure
  
      >>> isnumeric('int32')
      True
      >>> isnumeric('3 * ?real')
      True
      >>> isnumeric('string')
      False
      >>> isnumeric('var * {amount: ?int32}')
      False
      """
      ds = launder(ds)
  
      try:
          npdtype = to_numpy_dtype(ds)
      except TypeError:
          return False
      else:
          return isinstance(ds, Unit) and np.issubdtype(
              npdtype, np.number
          )
  
file_path: datashader/datashader/datashape/predicates.py
imports: import numpy
  from .util import collect, dshape
  from .internal_utils import remove
  from .coretypes import DataShape, Fixed, Var, Ellipsis, Record, Unit, date_, datetime_, TypeVar, to_numpy_dtype, Categorical
  from .typesets import floating, boolean
label_desc: Use image node_id 9 for calling a global function with example usage: isnumeric(ds) and returns: unknown, False