code: def test_error_if_df_contains_0_as_value(df_vartypes):
      # test error when data contains value zero
      df_neg = df_vartypes.copy()
      df_neg.loc[1, "Age"] = 0
  
      # test case 4: when variable contains zero, fit
      with pytest.raises(ValueError):
          transformer = ReciprocalTransformer()
          transformer.fit(df_neg)
  
      # test case 5: when variable contains zero, transform
      with pytest.raises(ValueError):
          transformer = ReciprocalTransformer()
          transformer.fit(df_vartypes)
          transformer.transform(df_neg)
  
file_path: feature_engine/tests/test_transformation/test_reciprocal_transformer.py
imports: import pandas
  import pytest
  from sklearn.exceptions import NotFittedError
  from feature_engine.transformation import ReciprocalTransformer
label_desc: Use image node_id 4 for calling a global function with example usage: test_error_if_df_contains_0_as_value(df_vartypes) without return types