code: def test_columnar_convert_invalid_input():
      converter = ColumnarConverter(
          name="some_name",
          default_type="foo",
          type_column=None,
          column_defaults={},
          selected_columns={},
          transform_columns={},
      )
  
      with pytest.raises(
          TypeError, match="some_name: expected dict, found int"
      ):
          converter.convert(1)
  
      with pytest.raises(
          TypeError,
          match=r"some_name\['x'\]: expected IndexedArray or pandas DataFrame, found int",
      ):
          converter.convert({"x": 1})
  
imports: import networkx
  import numpy
  import pandas
  import pytest
  from stellargraph.core.convert import ColumnarConverter, convert_nodes, convert_edges, from_networkx
  from stellargraph.core.indexed_array import IndexedArray
label_desc: Use image node_id 9 for calling a global function with example usage: test_columnar_convert_invalid_input() without return types