code: def test_edge_to_queries_single_typed_inferred_category(self):
      df = pd.DataFrame(
          {"s": ["a"], "d": ["b"], "v1": [2], "category": ["x"]}
      )
      g = PlotterBase()
      assert [x for x in edges_to_queries(g.edges(df, "s", "d"))][
          0
      ] == "g.v('a').addE('x').to(g.v('b')).property('v1', '2')"
  
imports: from typing import Iterable
  import os, numpy, pandas, pyarrow, pytest, queue
  from common import NoAuthTestCase
  from concurrent.futures import Future
  from mock import patch
  from gremlin_python.driver.resultset import ResultSet
  from gremlin_python.structure.graph import Vertex, Edge, Path
  from graphistry.gremlin import CosmosMixin, GremlinMixin, DROP_QUERY, nodes_to_queries, edges_to_queries
  from graphistry.plotter import PlotterBase
label_desc: Use image node_id 29 for calling the TestGremlinMixin obj's underlying member method code with example usage: obj.test_edge_to_queries_single_typed_inferred_category() without return types