(stream_fixture)
| 737 | |
| 738 | @pytest.mark.pandas |
| 739 | def test_stream_read_pandas(stream_fixture): |
| 740 | frames = [batch.to_pandas() for batch in stream_fixture.write_batches()] |
| 741 | file_contents = stream_fixture.get_source() |
| 742 | reader = pa.ipc.open_stream(file_contents) |
| 743 | result = reader.read_pandas() |
| 744 | |
| 745 | expected = pd.concat(frames).reset_index(drop=True) |
| 746 | assert_frame_equal(result, expected) |
| 747 | |
| 748 | |
| 749 | @pytest.fixture |
nothing calls this directly
no test coverage detected