Timeline for Parse HTML table to Python list?
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Feb 19, 2024 at 8:31 | history | suggested | davidshere | CC BY-SA 4.0 |
The part that I changed was out of date - it said that pandas didn't have a feature that it now does have.
|
| Feb 19, 2024 at 4:45 | review | Suggested edits | |||
| S Feb 19, 2024 at 8:31 | |||||
| Jun 16, 2023 at 21:02 | review | Suggested edits | |||
| Jun 18, 2023 at 21:46 | |||||
| S Jun 14, 2023 at 1:06 | history | suggested | klimenkov | CC BY-SA 4.0 |
fix broken link
|
| Jun 12, 2023 at 18:35 | review | Suggested edits | |||
| S Jun 14, 2023 at 1:06 | |||||
| Jan 5, 2022 at 16:40 | comment | added | hp77 | This method is really simple and also works for small table findings, loved it! Thanks. | |
| Jan 8, 2020 at 0:15 | comment | added | tommy.carstensen |
@zelusp I just learned, that Pandas is extremely slow, if your html has 100+ tables and you just want a single table with a specific id. Beautifulsoup is much faster in this case.
|
|
| Aug 9, 2018 at 6:59 | comment | added | John Strood | @tommy.carstensen There are already answers here: stackoverflow.com/a/39336433/5337834 and stackoverflow.com/a/9980393/5337834. If you're still unsatisfied, I'll write my own answer! | |
| Aug 9, 2018 at 6:48 | comment | added | John Strood |
@tommy.carstensen Ah! I used bs4 to build an element tree, and traversed through the elements to break row-spanned column-spanned cells into constituent cells.
|
|
| Aug 8, 2018 at 23:19 | comment | added | tommy.carstensen |
@JohnStrood Looking forward to reading your answer on how to handle rowspan and colspan π
|
|
| Aug 8, 2018 at 10:08 | comment | added | John Strood |
Not a good way for tables containing rowspan and colspan!
|
|
| Jul 14, 2017 at 23:54 | history | edited | zelusp | CC BY-SA 3.0 |
added 106 characters in body
|
| Jul 14, 2017 at 23:48 | history | answered | zelusp | CC BY-SA 3.0 |