class_docstr: Test ability to marshall arrow_vega_lite_chart protos.
class_docstr_tok: ["Test","ability","to","marshall","arrow_vega_lite_chart","protos","."]
docstr: Test that you can pass pyarrow.Table as data.
docstr_tok: ["Test","that","you","can","pass","pyarrow.Table","as","data","."]
code: def test_pyarrow_table_data(self):
      """Test that you can pass pyarrow.Table as data."""
      table = pa.Table.from_pandas(df1)
      st.vega_lite_chart(table, {"mark": "rect"})
  
      proto = (
          self.get_delta_from_queue().new_element.arrow_vega_lite_chart
      )
  
      self.assertEqual(proto.HasField("data"), True)
      self.assertEqual(proto.data.data, pyarrow_table_to_bytes(table))
  
imports: import json
  import pandas
  import pyarrow
  from parameterized import parameterized
  import streamlit
  from streamlit.errors import StreamlitAPIException
  from streamlit.type_util import bytes_to_data_frame, pyarrow_table_to_bytes
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
label_desc: Use image node_id 10 for calling the ArrowVegaLiteTest obj's underlying member method code with example usage: obj.test_pyarrow_table_data() without return types