code: def test_overwrite_node(setup_path):
      with ensure_clean_store(setup_path) as store:
          store["a"] = DataFrame(
              np.random.default_rng(2).standard_normal((10, 4)),
              columns=Index(list("ABCD"), dtype=object),
              index=date_range("2000-01-01", periods=10, freq="B"),
          )
          ts = Series(
              np.arange(10, dtype=np.float64),
              index=date_range("2020-01-01", periods=10),
          )
          store["a"] = ts
  
          tm.assert_series_equal(store["a"], ts)
  
imports: import contextlib
  import datetime
  import hashlib
  import tempfile
  import time
  import numpy
  import pytest
  import pandas
  from pandas import DataFrame, DatetimeIndex, Index, MultiIndex, Series, Timestamp, concat, date_range, period_range, timedelta_range
  import pandas._testing
  from pandas.tests.io.pytables.common import _maybe_remove, ensure_clean_store
  from pandas.io.pytables import HDFStore, read_hdf
label_desc: Use image node_id 23 for calling a global function with example usage: test_overwrite_node(setup_path) without return types