code: def set_kwargs_label(kwargs, cls):
      kwargs["label"] = kwargs.get("label", cls._label)
  
imports: import warnings
  from typing import Union, Optional, Iterable
  from scipy import stats
  import pandas
  import numpy
  from lifelines.utils import coalesce, CensoringType, _group_event_table_by_intervals
label_desc: Use image node_id 16 for calling a global function with example usage: set_kwargs_label(kwargs, cls) without return types