code: def test_implicit_coords_series(self, seeded_test):
      pd = pytest.importorskip("pandas")
      ser_sales = pd.Series(
          data=np.random.randint(low=0, high=30, size=22),
          index=pd.date_range(
              start="2020-05-01", periods=22, freq="24H", name="date"
          ),
          name="sales",
      )
      with pm.Model() as pmodel:
          pm.ConstantData(
              "sales",
              ser_sales,
              dims="date",
              export_index_as_coords=True,
          )
  
      assert "date" in pmodel.coords
      assert len(pmodel.coords["date"]) == 22
      assert pmodel.named_vars_to_dims == {"sales": ("date",)}
  
imports: import io
  import itertools
  import re
  import cloudpickle
  import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from pytensor import shared
  from pytensor.tensor.variable import TensorVariable
  import pymc
  from pymc.data import is_minibatch
  from pymc.pytensorf import GeneratorOp, floatX
label_desc: Use image node_id 15 for calling the TestData obj's underlying member method code with example usage: obj.test_implicit_coords_series(seeded_test) without return types