[ENH] pandas.read_html argument to interpret hyperlinks as links (not merely text) · Issue #13141 · pandas-dev/pandas (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
For starters I'd just like to share that pandas is AWESOME! Thank you to all who contribute and make this lean, mean number crunching machine available to others like me.
pandas.read_html is super convenient for making dataframes from the web! The power of the web is that it's just that... a web of many highly interconnected data chunks. Being able to get the hyperlinks in an HTML table instead of the plain text that is hyperlinked
would be a great productivity boost for web scraping.
Take the example of getting links to SEC forms. Here, one is probably more interested in getting the link to an insider trading disclosure form rather then merely the type of form (typically form 4).
Baking this functionality into read_html also averts the need to double parse HTML as in this StackOverflow post - http://stackoverflow.com/questions/31771619/html-table-to-pandas-table-info-inside-html-tags