code: def test_to_arrow_end_row(self):
      data = {
          "a": [None, 1, None, 2, 3],
          "b": [1.5, 2.5, None, 3.5, None],
      }
      tbl = Table(data)
      assert tbl.schema() == {"a": int, "b": float}
      arr = tbl.view().to_arrow(end_row=2)
      tbl2 = Table(arr)
      assert tbl2.view().to_dict() == {
          "a": data["a"][:2],
          "b": data["b"][:2],
      }
  
imports: import pyarrow
  from datetime import date, datetime
  from perspective import Table
label_desc: Use image node_id 13 for calling the TestToArrow obj's underlying member method code with example usage: obj.test_to_arrow_end_row() without return types