code: def test_roundtrip_with_prefixes():
      categories = DataFrame(
          {"col1": ["a", "b", "a"], "col2": ["b", "a", "c"]}
      )
      dummies = get_dummies(categories)
      result = from_dummies(dummies, sep="_")
      expected = categories
      tm.assert_frame_equal(result, expected)
  
imports: import numpy
  import pytest
  from pandas import DataFrame, Series, from_dummies, get_dummies
  import pandas._testing
label_desc: Use image node_id 19 for calling a global function with example usage: test_roundtrip_with_prefixes() without return types