code: def test_replace_inf_values_specify_cols(divide_by_zero_es):
      div_by_scalar = DivideNumericScalar(value=0)
      fm, _ = dfs(
          entityset=divide_by_zero_es,
          target_dataframe_name="zero",
          trans_primitives=[div_by_scalar],
          max_depth=1,
      )
  
      assert np.inf in to_pandas(fm["col1 / 0"]).values
      replaced_fm = replace_inf_values(fm, columns=["col1 / 0"])
      replaced_fm = to_pandas(replaced_fm)
      assert np.inf not in replaced_fm["col1 / 0"].values
      assert np.inf in replaced_fm["col2 / 0"].values
  
imports: import numpy
  from featuretools import dfs
  from featuretools.computational_backends import replace_inf_values
  from featuretools.primitives import DivideByFeature, DivideNumericScalar
  from featuretools.tests.testing_utils import to_pandas
label_desc: Use image node_id 2 for calling a global function with example usage: test_replace_inf_values_specify_cols(divide_by_zero_es) without return types