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
DataFrameSchema says it acceptsstr for the argument unique, but if a string is provided, the validation crashes with ValueError: not enough values to unpack (expected 2, got 0).
Describe the bug
DataFrameSchema
says it acceptsstr
for the argumentunique
, but if a string is provided, the validation crashes withValueError: not enough values to unpack (expected 2, got 0)
.Might be related to this issue.
Code Sample, a copy-pastable example
If you change
alpha
in the example toa
, it seems to work. So maybe the problem is strings with more than one character.Expected behavior
If the type hint says it accept
str
, then if I providestr
, the validation should run without crashing.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: