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","."]
code: def _create_vector_properties(df, vector_properties):
      vectors = {}
      for key, columns in vector_properties.items():
          values = df[columns].values
          if isinstance(df, cudf.DataFrame):
              vectors[key] = create_list_series_from_2d_ar(
                  values, index=df.index
              )
          else:
              vectors[key] = [
                  np.squeeze(vec, 0)
                  for vec in np.split(
                      np.ascontiguousarray(values, like=values), len(df)
                  )
              ]
      for key, vec in vectors.items():
          df[key] = vec
  
imports: import cudf
  import numpy
  import cugraph
  from cugraph.utilities.utils import import_optional, MissingModule, create_list_series_from_2d_ar
  from typing import Union
label_desc: Use image node_id 35 for calling the EXPERIMENTAL__PropertyGraph obj's underlying member method code with example usage: obj._create_vector_properties(df, vector_properties) without return types