Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
- [Metadata processing with Python](./metadata_python.md)
- [Advanced topics](./metadata_advanced.md)

* [Data transfer to Python](./python.md)

* [Error handling](./error_handling.md)

* [Example programs](./examples.md)
Expand Down
7 changes: 7 additions & 0 deletions book/src/python.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Data transfer to Python

The most straightforward method is to write data to a file.
To do so, call `TableCollction::dump` or `TreeSequence::dump` as appropriate.

It is also possible to transfer data to a Python tree sequence without making a copy.
At the time of this writing, an experimental repository to do so is [here](https://github.com/molpopgen/tskit2tskit).
Loading