Skip to content

Conversation

renaner123
Copy link

Fix FutureWarning in read_html call

This pull request addresses a FutureWarning encountered in the codebase due to deprecated usage of literal HTML in the read_html function.

Changes Made:

  • Removed the FutureWarning caused by passing literal HTML to read_html.
  • Replaced the deprecated usage with StringIO for improved compatibility.

Files Modified:

  • detalhes.py
  • papel.py
  • resultado.py
  • setor.py

Additional Information:

The deprecated usage of literal HTML in the read_html function was causing a FutureWarning in the codebase. This pull request resolves the warning by replacing the deprecated usage with StringIO, ensuring compatibility with future versions of the library.

This screenshot illustrates the FutureWarning encountered before the fix.
FutureWarning

This screenshot showcases the implementation of the fix using StringIO.
fix-fururewarning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant