Skip to content
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

Update deprecated code #12

Open
GabryDX opened this issue May 9, 2024 · 0 comments
Open

Update deprecated code #12

GabryDX opened this issue May 9, 2024 · 0 comments
Assignees

Comments

@GabryDX
Copy link

GabryDX commented May 9, 2024

When executing the command justetf_scraping.load_overview() I get:

FutureWarning: Downcasting behavior in `replace` is deprecated and will be removed in a future version. To retain the old behavior, explicitly call `result.infer_objects(copy=False)`. To opt-in to the future behavior, set `pd.set_option('future.no_silent_downcasting', True)`
  df[column] = df[column].replace({"Yes": True, "No": False}).astype("bool")

Everything works so it is not blocking, but needs to be addressed.

@druzsan druzsan self-assigned this May 12, 2024
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

No branches or pull requests

2 participants