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

FutureWarnings in tkinter #255

Open
jessepink opened this issue Jun 7, 2024 · 3 comments
Open

FutureWarnings in tkinter #255

jessepink opened this issue Jun 7, 2024 · 3 comments

Comments

@jessepink
Copy link

This is the first time I've used this library, and indeed tkinter as well, but the first time I got a table to work I also got these warnings from tkinter:

FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version. Call result.infer_objects(copy=False) instead. To opt-in to the future behavior, set pd.set_option('future.no_silent_downcasting', True)``

FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos]``

FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. Value '58' has dtype incompatible with int64, please explicitly cast to a compatible dtype first.

@jessepink
Copy link
Author

This is with Python 3.12 FYI

@amilkyboi
Copy link

I'm also having this issue on Python 3.12.5 and pandastable 0.13.1. Tried the fixes suggested on this thread, but I think pandastable is calling .fillna or a related function internally, so the fixes didn't do anything for me.

@dmnfarrell
Copy link
Owner

where is this error triggered. @jessepink

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

3 participants