code: def test_df_describe_nested() -> None:
      df = pl.DataFrame(
          {
              "struct": [
                  {"x": 1, "y": 2},
                  {"x": 3, "y": 4},
                  {"x": 1, "y": 2},
                  None,
              ],
              "list": [[1, 2], [3, 4], [1, 2], None],
          }
      )
  
      result = df.describe()
  
      expected = pl.DataFrame(
          [
              ("count", 3, 3),
              ("null_count", 1, 1),
              ("mean", None, None),
              ("std", None, None),
              ("min", None, None),
              ("25%", None, None),
              ("50%", None, None),
              ("75%", None, None),
              ("max", None, None),
          ],
          schema=["describe"] + df.columns,
          schema_overrides={"struct": pl.String, "list": pl.String},
      )
      assert_frame_equal(result, expected)
  
file_path: polars/py-polars/tests/unit/dataframe/test_describe.py
imports: from __future__ import annotations
  from datetime import date
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_df_describe_nested() without return types