Skip to content

Commit ca2372a

Browse files
eddyxuwjones127
andauthored
Update docs/introduction/read_and_write.rst
Co-authored-by: Will Jones <willjones127@gmail.com>
1 parent c90f641 commit ca2372a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/introduction/read_and_write.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@ or :py:meth:`~lance.write_dataset` with ``mode=append``.
7171

7272
>>> new_table = pa.Table.from_pylist([{"name": "Carla", "age": 37}])
7373
>>> ds.insert(new_table)
74-
>>> tbl = lance.dataset("./insert_example.lance").to_table()
75-
>>> tbl.to_pandas()
74+
>>> ds.to_table().to_pandas()
7675
name age
7776
0 Alice 20
7877
1 Bob 30

0 commit comments

Comments
 (0)