code: def test_fetch_openml_overwrite_default_params_read_csv(monkeypatch):
      """Check that we can overwrite the default parameters of `read_csv`."""
      pytest.importorskip("pandas")
      data_id = 1590
      _monkey_patch_webbased_functions(
          monkeypatch, data_id=data_id, gzip_response=False
      )
  
      common_params = {
          "data_id": data_id,
          "as_frame": True,
          "cache": False,
          "parser": "pandas",
      }
  
      # By default, the initial spaces are skipped. We checked that setting the parameter
      # `skipinitialspace` to False will have an effect.
      adult_without_spaces = fetch_openml(**common_params)
      adult_with_spaces = fetch_openml(
          **common_params, read_csv_kwargs={"skipinitialspace": False}
      )
      assert all(
          cat.startswith(" ")
          for cat in adult_with_spaces.frame["class"].cat.categories
      )
      assert not any(
          cat.startswith(" ")
          for cat in adult_without_spaces.frame["class"].cat.categories
      )
  
imports: import gzip
  import json
  import os
  import re
  from functools import partial
  from importlib import resources
  from io import BytesIO
  from urllib.error import HTTPError
  import numpy
  import pytest
  import scipy.sparse
  import sklearn
  from sklearn import config_context
  from sklearn.datasets import fetch_openml
  from sklearn.datasets._openml import _OPENML_PREFIX, _get_local_path, _open_openml_url, _retry_with_clean_cache
  from sklearn.utils import Bunch, check_pandas_support
  from sklearn.utils._testing import SkipTest, assert_allclose, assert_array_equal, fails_if_pypy
label_desc: Use image node_id 28 for calling a global function with example usage: test_fetch_openml_overwrite_default_params_read_csv(monkeypatch) without return types