You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the sdv/tests with pytests raised the following pandas warning:
FutureWarning: Could not cast to int64, falling back to object. This behavior is deprecated. In a future version, when a dtype is passed to 'DataFrame', either all columns will be cast to that dtype, or a TypeError will be raised.
Expected behavior
We want to modify the code to no longer get this warning.
Additional context
Here is given the code lines in sdv that raised the warning. Because this list may be incomplete, it would be nice to check after the correction that the warning is not in the warning summary of pytests.
The text was updated successfully, but these errors were encountered:
R-Palazzo
added
internal
The issue doesn't change the API or functionality
maintenance
Tasks related to infrastructure & dependencies
new
Automatic label applied to new issues
labels
Apr 4, 2023
npatki
changed the title
Pandas warning 3
Pandas FutureWarning: Could not cast to int64Apr 4, 2023
Problem Description
Running the
sdv/tests
withpytests
raised the followingpandas
warning:FutureWarning: Could not cast to int64, falling back to object. This behavior is deprecated. In a future version, when a dtype is passed to 'DataFrame', either all columns will be cast to that dtype, or a TypeError will be raised.
Expected behavior
We want to modify the code to no longer get this warning.
Additional context
Here is given the code lines in
sdv
that raised the warning. Because this list may be incomplete, it would be nice to check after the correction that the warning is not in thewarning summary
ofpytests
.Lines to be modified:
The text was updated successfully, but these errors were encountered: