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

extra warning during build with recent panda #2010

Open
Remi-Gau opened this issue Dec 16, 2024 · 0 comments
Open

extra warning during build with recent panda #2010

Remi-Gau opened this issue Dec 16, 2024 · 0 comments

Comments

@Remi-Gau
Copy link
Collaborator

Getting a lot of those.

Should fix probably soon before it becomes too annoying.

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)`
             File "/home/remi/github/bids/website/env/lib/python3.12/site-packages/pandas/core/internals/blocks.py", line 904, in replace
               warnings.warn(
             File "/home/remi/github/bids/website/env/lib/python3.12/site-packages/bidsschematools/render/utils.py", line 132, in
               df = df.replace("", math.nan).dropna(axis=1, how="all").fillna("")
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

1 participant