Closed Nicholaswogan closed 2 years ago
@Nicholaswogan
You can prevent auto formatting by type_hints
settings as follows:
from pytablewriter import MarkdownTableWriter
writer = MarkdownTableWriter(
headers=["bla"],
value_matrix=[['1.e-10']],
type_hints=["String"],
)
writer.write_table()
outputs:
| bla |
|------|
|1.e-10|
I will consider updating the documents.
results in
How do you prevent this autmoatic formatting of '1.e-10'?? I want the output to be unformatted:
Docs should be adjusted so it is very clear how to prevent this automatic formatting.