code: def test_from_frame_missing_values_multiIndex():
      # GH 39984
      pa = pytest.importorskip("pyarrow")
  
      df = pd.DataFrame(
          {
              "a": Series([1, 2, None], dtype="Int64"),
              "b": pd.Float64Dtype().__from_arrow__(
                  pa.array([0.2, np.nan, None])
              ),
          }
      )
      multi_indexed = MultiIndex.from_frame(df)
      expected = MultiIndex.from_arrays(
          [
              Series([1, 2, None]).astype("Int64"),
              pd.Float64Dtype().__from_arrow__(
                  pa.array([0.2, np.nan, None])
              ),
          ],
          names=["a", "b"],
      )
      tm.assert_index_equal(multi_indexed, expected)
  
imports: from datetime import date, datetime
  import itertools
  import numpy
  import pytest
  from pandas.core.dtypes.cast import construct_1d_object_array_from_listlike
  import pandas
  from pandas import Index, MultiIndex, Series, Timestamp, date_range
  import pandas._testing
label_desc: Use image node_id 38 for calling a global function with example usage: test_from_frame_missing_values_multiIndex() without return types