code: def test_from_adjacency_named(self):
      # example from issue #3105
      data = {
          "A": {"A": 0, "B": 0, "C": 0},
          "B": {"A": 1, "B": 0, "C": 0},
          "C": {"A": 0, "B": 1, "C": 0},
      }
      dftrue = pd.DataFrame(data, dtype=np.intp)
      df = dftrue[["A", "C", "B"]]
      G = nx.from_pandas_adjacency(df, create_using=nx.DiGraph())
      df = nx.to_pandas_adjacency(G, dtype=np.intp)
      pd.testing.assert_frame_equal(df, dftrue)
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 17 for calling the TestConvertPandas obj's underlying member method code with example usage: obj.test_from_adjacency_named() without return types