pytablewriter
Table of Contents
1. pytablewriter
2. Installation
3. Dependencies
4. Examples
4.1. Basic usage
4.2. Write table(s) with a specific format
4.2.1. Text formats
4.2.1.1. CSV
4.2.1.2. LaTeX
4.2.1.3. LTSV
4.2.1.4. HTML
4.2.1.5. JSON
4.2.1.6. Markdown
4.2.1.7. MediaWiki
4.2.1.8. reStructuredText
4.2.1.9. Source Code
4.2.1.10. Space Aligned
4.2.1.11. TOML
4.2.1.12. Unicode
4.2.1.13. YAML
4.2.2. Binary formats
4.2.3. Elasticsearch
4.3. Configure output
4.4. Tabular Data Sources
4.5. Specify Cell Styles For Each Column
4.6. Specify theme
4.7. Using Multi-Byte Characters
4.8. Configure Type Hints
4.9. Jupyter Notebook Support
4.10. Multiprocessing
5. Reference
6. Changelog
7. Projects using pytablewriter
8. Related Projects
9. Sponsors
10. Indices and tables
11. Links
pytablewriter
4.
Examples
4.2.
Write table(s) with a specific format
4.2.1.
Text formats
View page source
4.2.1.
Text formats
ΒΆ
4.2.1.1. CSV
4.2.1.1.1. TSV
4.2.1.2. LaTeX
4.2.1.2.1. LaTeX matrix
4.2.1.2.2. LaTeX table
4.2.1.3. LTSV
4.2.1.4. HTML
4.2.1.5. JSON
4.2.1.5.1. JSON with a table name
4.2.1.5.2. JSON without a table name
4.2.1.5.3. JSON lines
4.2.1.6. Markdown
4.2.1.6.1. Markdown with margins
4.2.1.6.2. GitHub flavored Markdown (GFM)
4.2.1.6.3. Apply styles to GFM table with programmatically (style filter)
4.2.1.7. MediaWiki
4.2.1.8. reStructuredText
4.2.1.8.1. reStructuredText CSV Table
4.2.1.8.2. reStructuredText Grid Tables
4.2.1.8.3. reStructuredText Simple Tables
4.2.1.9. Source Code
4.2.1.9.1. JavaScript Code
4.2.1.9.2. NumPy array
4.2.1.9.3. Pandas DataFrame
4.2.1.9.4. Python Code
4.2.1.10. Space Aligned
4.2.1.11. TOML
4.2.1.12. Unicode
4.2.1.13. YAML