code: def test_table_csv(self):
      data = "x,y,z\n1,a,true\n2,b,false\n3,c,true\n4,d,false"
      tbl = Table(data)
      assert tbl.schema() == {"x": int, "y": str, "z": bool}
      view = tbl.view()
      assert view.to_dict() == {
          "x": [1, 2, 3, 4],
          "y": ["a", "b", "c", "d"],
          "z": [True, False, True, False],
      }
  
imports: import sys
  from datetime import date, datetime
  from perspective.core.exception import PerspectiveError
  from perspective.table import Table
  from perspective.table._state import _PerspectiveStateManager
  from perspective.table.libpsppy import PerspectiveCppError, t_filter_op
  from pytest import raises
label_desc: Use image node_id 4 for calling the TestTable obj's underlying member method code with example usage: obj.test_table_csv() without return types