code: def test_meta():
      values = pd.array([True, False, None], dtype="boolean")
      ds = dd.from_pandas(pd.Series(values), 2)
      assert ds.dtype == pd.BooleanDtype()
  
      dd.utils.assert_eq(
          ds._meta_nonempty, pd.Series([True, pd.NA], dtype="boolean")
      )
  
      ddf = dd.from_pandas(pd.DataFrame({"A": values}), 2)
      assert ddf.dtypes["A"] == pd.BooleanDtype()
  
      dd.utils.assert_eq(
          ddf._meta_nonempty,
          pd.DataFrame({"A": pd.array([True, pd.NA], dtype="boolean")}),
      )
  
imports: from __future__ import annotations
  import pandas
  import dask.dataframe
label_desc: Use image node_id 1 for calling a global function with example usage: test_meta() without return types