code: def _zero_on_type_error(column_fn):
      
      if not column_fn:
          return column_fn
      if not callable(column_fn):
          raise TypeError('column functions must be callable')
      @functools.wraps(column_fn)
      def wrapped(column):
          try:
              return column_fn(column)
          except TypeError:
              if isinstance(column, np.ndarray):
                  return column.dtype.type() # A typed zero value
              else:
                  raise
      return wrapped
docs: Wrap a function on an np.ndarray to return 0 on a type error.