code: def test_repr_meta_mutation():
      # Check that the repr changes when meta changes
      df = pd.DataFrame({"a": range(5), "b": ["a", "b", "c", "d", "e"]})
      ddf = dd.from_pandas(df, npartitions=2)
      s1 = repr(ddf)
      assert repr(ddf) == s1
      ddf.b = ddf.b.astype("category")
      assert repr(ddf) != s1
  
imports: from __future__ import annotations
  from textwrap import dedent
  import numpy
  import pandas
  import pytest
  import dask.array
  import dask.dataframe
  from dask.dataframe.utils import get_string_dtype, pyarrow_strings_enabled
  from dask.utils import maybe_pluralize
label_desc: Use image node_id 4 for calling a global function with example usage: test_repr_meta_mutation() without return types