class_docstr: Class which stores vertex and edge properties that can be used to construct
  Graphs from individual property selections and used later to annotate graph
  algorithm results with corresponding properties.
class_docstr_tok: ["Class","which","stores","vertex","and","edge","properties","that","can","be","used","to","construct","Graphs","from","individual","property","selections","and","used","later","to","annotate","graph","algorithm","results","with","corresponding","properties","."]
docstr: Return a Series containing the unique vertex IDs contained in both
  the vertex and edge property data.
docstr_tok: ["Return","a","Series","containing","the","unique","vertex","IDs","contained","in","both","the","vertex","and","edge","property","data","."]
code: def get_vertices(self, selection=None):
      """
      Return a Series containing the unique vertex IDs contained in both
      the vertex and edge property data.
      """
      vert_sers = self.__get_all_vertices_series()
      if vert_sers:
          if self.__series_type is dask_cudf.Series:
              return (
                  dask_cudf.concat(vert_sers, ignore_index=True)
                  .unique()
                  .sort_values()
              )
          else:
              raise TypeError(
                  "dataframe must be a CUDF Dask dataframe."
              )
      return self.__series_type()
  
imports: import cudf
  import cupy
  import cugraph
  import dask_cudf
  import cugraph.dask
  from cugraph.utilities.utils import import_optional, create_list_series_from_2d_ar
  from typing import Union
label_desc: Use image node_id 14 for calling the EXPERIMENTAL__MGPropertyGraph obj's underlying member method code with example usage: obj.get_vertices(selection) and returns: self, dask_cudf