Skip to content

Commit d3f8b40

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/introduction/read_and_write.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ or :py:meth:`~lance.write_dataset` with ``mode=append``.
7878
2 Carla 37
7979

8080
>>> new_table2 = pa.Table.from_pylist([{"name": "David", "age": 42}])
81-
>>> ds2 = lance.write_dataset(new_table2, "./insert_example.lance", mode="append")
82-
>>> ds2.to_table().to_pandas()
81+
>>> ds = lance.write_dataset(new_table_2, ds, mode="append")
82+
>>> ds.to_table().to_pandas()
8383
name age
8484
0 Alice 20
8585
1 Bob 30

0 commit comments

Comments
 (0)