docstr: Parameters
  ----------
  backend : ('numpy', 'pandas', 'cupy', 'cudf', 'torch', 'torch:<device>')
      Defaults to cudf if available, otherwise falls back to numpy.
  
  Returns
  -------
  Returns the edge list for this property graph as a dataframe,
  array, or tensor containing edge ids, source vertex,
  destination vertex, and edge type.
code: def edges(self, backend=("cudf" if cudf_installed else "numpy")):
      """
      Parameters
      ----------
      backend : ('numpy', 'pandas', 'cupy', 'cudf', 'torch', 'torch:<device>')
          Defaults to cudf if available, otherwise falls back to numpy.
  
      Returns
      -------
      Returns the edge list for this property graph as a dataframe,
      array, or tensor containing edge ids, source vertex,
      destination vertex, and edge type.
  
      """
      # default edge props include src, dst, edge ID, and edge type
      np_edges = self.__client.get_graph_edge_data(
          -1,
          graph_id=self.__graph_id,
      )
  
      # Convert edge type to numeric if necessary
      if backend not in ["cudf", "pandas"]:
          edge_cat_types = self._edge_categorical_dtype
          np_edges[:, 3] = np.array(
              [edge_cat_types[t] for t in np_edges[:, 3]]
          )
          cat_dtype = "int32"
      else:
          cat_dtype_class = (
              cudf.CategoricalDtype
              if backend == "cudf"
              else pandas.CategoricalDtype
          )
          cat_dtype = cat_dtype_class(
              self._edge_categorical_dtype.keys(), ordered=True
          )
  
      return _transform_to_backend_dtype(
          np_edges,
          [
              self.edge_id_col_name,
              self.src_col_name,
              self.dst_col_name,
              self.type_col_name,
          ],
          backend,
          dtypes=["int64", "int64", "int64", cat_dtype],
      )
  
imports: import numpy
  import importlib
  from cugraph_service_client.exceptions import CugraphServiceError
  from cugraph_service_client.remote_graph_utils import _transform_to_backend_dtype, _transform_to_backend_dtype_1d, _offsets_to_backend_dtype, MissingModule
label_desc: Use image node_id 19 for calling the RemoteGraph obj's underlying member method code with example usage: obj.edges(backend) and returns: _transform_to_backend_dtype