docstr: Elementwise power function.
  
  Args:
      n: Exponent.
      dtype: Type specifier.
docstr_tok: ["Elementwise","power","function",".","Args",":","n",":","Exponent",".","dtype",":","Type","specifier","."]
code: def power(self, n, dtype=None):
      """Elementwise power function.
  
      Args:
          n: Exponent.
          dtype: Type specifier.
  
      """
      if dtype is None:
          data = self.data.copy()
      else:
          data = self.data.astype(dtype, copy=True)
      data **= n
      return self._with_data(data)
  
imports: import cupy
  import numpy
  from cupy._core import internal
  from cupy import _util
  from cupyx.scipy.sparse import _base
  from cupyx.scipy.sparse import _coo
  from cupyx.scipy.sparse import _sputils
label_desc: Use image node_id 11 for calling the _data_matrix obj's underlying member method code with example usage: obj.power(n, dtype) and returns: self