docs: def last(values, axis, skipna=None):
      """Return the last non-NA elements in this array along the given axis
      """
      if (skipna or skipna is None) and values.dtype.kind not in 'iSU':
          # only bother for dtypes that can hold NaN
          _fail_on_dask_array_input_skipna(values)
          return nanlast(values, axis)
      return take(values, -1, axis=axis)