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

Cannot set allow_missing=True for numeric column #14

Closed
caddac opened this issue Aug 7, 2018 · 2 comments
Closed

Cannot set allow_missing=True for numeric column #14

caddac opened this issue Aug 7, 2018 · 2 comments

Comments

@caddac
Copy link
Contributor

caddac commented Aug 7, 2018

Probably related #5 and #13, I can't set allow_missing=True on a column that is of a numeric type, then run a InRangeValidation on that column.
I get the error raise AttributeError("Can only use .str accessor with string " AttributeError: Can only use .str accessor with string values, which use np.object_ dtype in pandas at https://github.com/TMiguelT/PandasSchema/blob/1742791a8e6fa22380d6f49693148de99fd7ec5d/pandas_schema/validation.py#L87

@caddac
Copy link
Contributor Author

caddac commented Aug 7, 2018

shows my error case: #15

@multimeric
Copy link
Owner

Closed by #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants