Skip to content

BUG: change lxml remove to drop_tree (#51629) #52135

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

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

m-ganko
Copy link
Contributor

@m-ganko m-ganko commented Mar 23, 2023

According to this SO question remove method removes tail text. In order to preserve it the method was changed to drop_tree. Appropriate test was added.

* for removing elements when display:none in read_html
* test added
@mroeschke mroeschke added the IO XML read_xml, to_xml label Mar 23, 2023
@mroeschke
Copy link
Member

Looks okay. Could you add a whatsnew note in v2.1.0.rst?

@m-ganko
Copy link
Contributor Author

m-ganko commented Mar 23, 2023

Looks okay. Could you add a whatsnew note in v2.1.0.rst?

Done

@mroeschke mroeschke added this to the 2.1 milestone Mar 24, 2023
@mroeschke mroeschke merged commit 525f1ef into pandas-dev:main Mar 24, 2023
@mroeschke
Copy link
Member

Thanks @m-ganko

@m-ganko m-ganko deleted the read_html_fix branch March 24, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO XML read_xml, to_xml
Projects
None yet
Development

Successfully merging this pull request may close these issues.

read_html omits a column when reading a wikipedia table
2 participants