tables in 10k text partially truncated to ... when saving to .txt file
Hi Dwight,
I tried to download the full text of a 10k file but found that the inline tables are missing for a filing , [https://www.sec.gov/Archives/edgar/data/783412/000143774924038552/djco20240930d_10k.htm](url) but I could actually access to those tables in text format by calling individual items (e.g. filling.obj()["Item 7"], would it possible to keep all the tables in the text by any chance?
I suspect changing the width in the richText may solve the issue? Thank you very much in advance!
Best regards,
Xiaoxu
Hi Dwight, I come with some updates, I change this to width=500 get following output:
but still the table is not the same as in the HTML report
maybe due to the stacked headers? This is example from cik 63908 2024 10-K
Thanks!
Best regards,
Xiaoxu
I will take a look. On really complex tables the rendering which is based on Rich tables struggles. I will see if we can do some more optimizations to make the tables look better
Hi again Dwight, Thanks foe the quick reply! I want to update with you that actually when I try to print the text content in jupyter notebook, the format is well preserved
is there any possible reason why the saved txt file having messed up format table? is it because jupyter notebook has some settings in rendering the text ? because output actually is str type from filing.text()... a little bit wired to me. I really appreciate your help in advance!!!
Best, Xiaoxu