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: In a future version of pandas, a length 1 tuple will be returned when iterating over a groupby with a grouper equal to a list of length 1. Don't supply a list with a single grouper to avoid this warning.
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 2
Pandas FutureWarning: Length 1 tuple will be returned
Apr 4, 2023
Problem Description
Running the
sdv/tests
withpytests
raised the followingpandas
warning:FutureWarning: In a future version of pandas, a length 1 tuple will be returned when iterating over a groupby with a grouper equal to a list of length 1. Don't supply a list with a single grouper to avoid this warning.
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: