code: def bfill(arr, dim=None, limit=None):
      '''backfill missing values'''
      axis = arr.get_axis_num(dim)
  
      # work around for bottleneck 178
      _limit = limit if limit is not None else arr.shape[axis]
  
      return apply_ufunc(_bfill, arr,
                         dask='parallelized',
                         keep_attrs=True,
                         output_dtypes=[arr.dtype],
                         kwargs=dict(n=_limit, axis=axis)).transpose(*arr.dimsf bfill(arr, dim=None, limit=None):
      '''backfill missing values'''
      axis = arr.get_axis_num(dim)
  
      # work around for bottleneck 178
      _limit = limit if limit is not None else arr.shape[axis]
  
      return apply_ufunc(_bfill, arr,
                         dask='parallelized',
                         keep_attrs=True,
                         output_dtypes=[arr.dtype],
                         kwargs=dict(n=_limit, axis=axis)).transpose(*arr.dims)
docs: backfill missing values