Confusing results when different field values are used for Integer columns #787
-
Hello,
Here there are 3 int columns in the data, one is all nulls, one partially and one is completely filled with data. The error I get:
If I attempt this:
I receive the same error... I've also attempted using pandas.Int64Dtype and the results are the same. Could some help me understand the behavior I'm seeing?? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
hi @fnikitathom can you provide a copy-pasteable minimally reproducible example? i.e. the DataFrameSchema definition and DataFrame containing data you want to validate. |
Beta Was this translation helpful? Give feedback.
-
Well after almost 2 days of going nuts I've figured out what the problem was, my inability to think outside the box, until I looked at the traceback again:
Which prompted my changing the code to:
Note the cast to int for |
Beta Was this translation helpful? Give feedback.
Well after almost 2 days of going nuts I've figured out what the problem was, my inability to think outside the box, until I looked at the traceback again:
Which prompted my changing the code to: