[Python] How to read 10-K XBRL file using python?

Discussão em 'Python' iniciado por Stack, Abril 9, 2025.

  1. Stack

    Stack Membro Participativo

    What I tried: I could save a 10-K XBRL file in text format and read line by line to extract various sections.

    Requirement: I want to separate text from tables from 10-K.

    Problem: For this I need to use the html and it has complex structure. And extracting text and tables seems complex with beautifulsoup/xml etc. I tried various python packages but none of them meet the requirement of extracting tables and text separately.

    Question: How to extract text and tables between two s separately?

    [[​IMG] [​IMG] [​IMG]

    Continue reading...

Compartilhe esta Página