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: Set the dtype for columns in df using the dtypes in column_dtype_dict.
  This also handles converting standard integer dtypes to nullable
  integer dtypes, needed to accommodate NA values in columns.
docstr_tok: ["Set","the","dtype","for","columns","in","df","using","the","dtypes","in","column_dtype_dict",".","This","also","handles","converting","standard","integer","dtypes","to","nullable","integer","dtypes",",","needed","to","accommodate","NA","values","in","columns","."]
code: def __update_dataframe_dtypes(df, column_dtype_dict):
      """
      Set the dtype for columns in df using the dtypes in column_dtype_dict.
      This also handles converting standard integer dtypes to nullable
      integer dtypes, needed to accommodate NA values in columns.
      """
      for col, dtype in column_dtype_dict.items():
          if col not in df.columns:
              continue
          # If the DataFrame is Pandas and the dtype is an integer type,
          # ensure a nullable integer array is used by specifying the correct
          # dtype. The alias for these dtypes is simply a capitalized string
          # (eg. "Int64")
          # https://pandas.pydata.org/pandas-docs/stable/user_guide/missing_data.html#integer-dtypes-and-missing-data
          dtype_str = str(dtype)
          if dtype_str in ["int32", "int64"]:
              dtype_str = dtype_str.title()
          if str(df.dtypes[col]) != dtype_str:
              df[col] = df[col].astype(dtype_str)
  
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 44 for calling the EXPERIMENTAL__MGPropertyGraph obj's underlying member method code with example usage: obj.__update_dataframe_dtypes(df, column_dtype_dict) without return types