code: def assign(cls, dataset, new_data):
      return dataset.data.mutate(**new_data)
  
imports: import sys
  from collections.abc import Iterable
  from functools import lru_cache
  import numpy
  from packaging.version import Version
  from ..None import util
  from ..element import Element
  from ..ndmapping import NdMapping, item_check, sorted_context
  from .None import pandas
  from .interface import Interface
  from .util import cached
label_desc: Use image node_id 21 for calling the IbisInterface obj's underlying member method code with example usage: obj.assign(cls, dataset, new_data) and returns: dataset