code: def test_expand():
      df = pd.DataFrame(
          data=[
              {"name": "John", "age": 30},
              {"name": "Alice", "age": 25},
          ]
      )
      expanded_df = expand_mixed(df)
      assert expanded_df.shape == (2, 2)
  
file_path: ydata-profiling/tests/unit/test_utils.py
imports: from pathlib import Path
  import pandas
  import pytest
  from ydata_profiling.utils.compat import pandas_version_info
  from ydata_profiling.utils.dataframe import expand_mixed, read_pandas, uncompressed_extension, warn_read
label_desc: Use image node_id 5 for calling a global function with example usage: test_expand() without return types