Skip to content

Add Support For Reading XBRL Files in Pandas #4407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cancan101 opened this issue Jul 30, 2013 · 3 comments
Closed

Add Support For Reading XBRL Files in Pandas #4407

cancan101 opened this issue Jul 30, 2013 · 3 comments
Labels
Enhancement IO Data IO issues that don't fit into a more specific label

Comments

@cancan101
Copy link
Contributor

XBRL (http://en.wikipedia.org/wiki/XBRL) is the standard format for financial filings.

As of 2009, the SEC requires companies to file in XBRL format (http://xbrl.sec.gov/)

@cpcloud
Copy link
Member

cpcloud commented Jul 30, 2013

@cancan101 want to submit a pull request?

superficially this looks like it would not be too hard using, for example, lxml. only thing is dealing with invalid documents (if that even matters, i.e., you could just raise and tell the user to go get a valid XBRL document)

@cancan101
Copy link
Contributor Author

Arelle is a Python library for reading XBRL.

Some relevant links:

http://arelle.org/documentation/api/ (overview of API)
https://github.com/Arelle/Arelle/blob/master/arelle/ViewFileFactTable.py (example of writing XBRL factTable to CSV)

@jorisvandenbossche
Copy link
Member

I personally think this would be out of scope for core pandas, therefore closing this. But it would certainly make for a nice standalone package if someone is interested.

@jorisvandenbossche jorisvandenbossche modified the milestones: No action, Someday Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

No branches or pull requests

3 participants