code: def test_transform_nonexisting_column(dataframe):
      """Checks an error is raised when the column being transformed
      is non-existent.
      """
      with pytest.raises(
          ValueError,
          match="_foobar_ not present",
      ):
          dataframe.transform_column("_foobar_", np.log10)
  
file_path: pyjanitor/tests/functions/test_transform_column.py
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 1 for calling a global function with example usage: test_transform_nonexisting_column(dataframe) without return types