code: def test_parameter_not_modified(monkeypatch, space):
      """Tests the original dataframe is not modified"""
      original = copy.deepcopy(data)
  
      mock_train_regressor(monkeypatch)
      partial_dependency(data, space, n_samples=10)
  
      pd.testing.assert_frame_equal(data, original)
  
imports: import copy
  import numpy
  import pandas
  import pytest
  from orion.analysis.partial_dependency_utils import make_grid, partial_dependency, partial_dependency_grid, reverse
  from orion.core.io.space_builder import SpaceBuilder
  from orion.core.utils import format_trials
  from orion.core.worker.transformer import build_required_space
label_desc: Use image node_id 11 for calling a global function with example usage: test_parameter_not_modified(monkeypatch, space) without return types