code: def test_r_dtype_dic(self):
      e_true = e_full_true[["dsf", "dsi"]]
      e_true["dsf"] = e_true.dsf.astype(np.uint8)
      e_true["dsi"] = e_true.dsi.astype(np.float32)
  
      r_dtype_dic = {"dsf": np.uint8, "dsi": np.float32}
      g = DeepGraph(v)
      g.create_edges(connectors=[dsi, dsf], r_dtype_dic=r_dtype_dic)
      e_test = g.e
  
      assert_frame_equal(
          e_test.sort_index(axis=1), e_true.sort_index(axis=1)
      )
  
      g.create_edges_ft(
          ("si", v.si.max()),
          connectors=[dsi, dsf],
          r_dtype_dic=r_dtype_dic,
      )
      e_test = g.e.drop("ft_r", axis=1)
  
      assert_frame_equal(
          e_test.sort_index(axis=1), e_true.sort_index(axis=1)
      )
  
imports: import pytest
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal
  from deepgraph import DeepGraph
label_desc: Use image node_id 10 for calling the TestCreateEdges obj's underlying member method code with example usage: obj.test_r_dtype_dic() without return types