class_docstr: Test ability to marshall arrow protos.
class_docstr_tok: ["Test","ability","to","marshall","arrow","protos","."]
docstr: Tests that data can be read from Snowpark's uncollected Dataframe
docstr_tok: ["Tests","that","data","can","be","read","from","Snowpark","'s","uncollected","Dataframe"]
code: def test_snowpark_uncollected(self):
      """Tests that data can be read from Snowpark's uncollected Dataframe"""
      with create_snowpark_session() as snowpark_session:
          df = snowpark_session.sql("SELECT 40+2 as COL1")
  
          st.dataframe(df)
  
      expected = pd.DataFrame({"COL1": [42]})
  
      proto = self.get_delta_from_queue().new_element.arrow_data_frame
      pd.testing.assert_frame_equal(
          bytes_to_data_frame(proto.data), expected
      )
  
imports: import json
  from unittest.mock import MagicMock, patch
  import numpy
  import pandas
  import pyarrow
  import pytest
  from pandas.io.formats.style_render import StylerRenderer
  import streamlit
  from streamlit.elements.lib.column_config_utils import INDEX_IDENTIFIER
  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
  from tests.testutil import create_snowpark_session
label_desc: Use image node_id 13 for calling the ArrowDataFrameProtoTest obj's underlying member method code with example usage: obj.test_snowpark_uncollected() without return types