code: def test_to_dict_masked_native_python(self):
      # GH#34665
      df = DataFrame({"a": Series([1, 2], dtype="Int64"), "B": 1})
      result = df.to_dict(orient="records")
      assert isinstance(result[0]["a"], int)
  
      df = DataFrame({"a": Series([1, NA], dtype="Int64"), "B": 1})
      result = df.to_dict(orient="records")
      assert isinstance(result[0]["a"], int)
  
imports: from collections import OrderedDict, defaultdict
  from datetime import datetime
  import numpy
  import pytest
  import pytz
  from pandas import NA, DataFrame, Index, MultiIndex, Series, Timestamp
  import pandas._testing
label_desc: Use image node_id 22 for calling the TestDataFrameToDict obj's underlying member method code with example usage: obj.test_to_dict_masked_native_python() without return types