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

Remove FutureWarning: Setting an item of incompatible dtype is deprecated #373

Closed
amontanez24 opened this issue Apr 24, 2024 · 0 comments · Fixed by #374
Closed

Remove FutureWarning: Setting an item of incompatible dtype is deprecated #373

amontanez24 opened this issue Apr 24, 2024 · 0 comments · Fixed by #374
Assignees
Labels
internal The issue doesn't change the API or functionality
Milestone

Comments

@amontanez24
Copy link
Contributor

Problem Description

The following future warning is raising and cluttering logs for SDV and CTGAN:

C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\ctgan\data_transformer.py:196: FutureWarning:

  

Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas. Value '[0.09704364]' has dtype incompatible with float32, please explicitly cast to a compatible dtype first.

Expected behavior

  • Remove the warning
@amontanez24 amontanez24 added the internal The issue doesn't change the API or functionality label Apr 24, 2024
@amontanez24 amontanez24 added this to the 0.10.1 milestone May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal The issue doesn't change the API or functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants