code: def test_nested_parquet() -> None:
      f = io.BytesIO()
      data = [
          {"a": [{"b": 0}]},
          {"a": [{"b": 1}, {"b": 2}]},
      ]
      df = pd.DataFrame(data)
      df.to_parquet(f)
  
      read = pl.read_parquet(f, use_pyarrow=True)
      assert read.columns == ["a"]
      assert isinstance(read.dtypes[0], pl.datatypes.List)
      assert isinstance(read.dtypes[0].inner, pl.datatypes.Struct)
  
imports: from __future__ import annotations
  import io
  from datetime import datetime, time, timezone
  from decimal import Decimal
  from typing import TYPE_CHECKING
  import numpy
  import pandas
  import pyarrow
  import pyarrow.dataset
  import pyarrow.parquet
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 11 for calling a global function with example usage: test_nested_parquet() without return types