ENH: Better error message on object dtype #2013

Merged
merged 2 commits into from Sep 26, 2014

Projects

None yet

3 participants

@jseabold
Member

Alternatively, we could just try to cast to float but since we're not systematically handling dtypes I preferred to just fail early and let the user know to check their data.

Closes #880. Should also close #1875.

Can look at fixing #1210 in this PR too.

@josef-pkt
Member

looks good, I wasn't sure where this check should be added.

(we still have the same problem with auxiliary arrays, other arrays in model.__init__)

@jseabold
Member

I'm going to look at the others with the GEE/New models grouping missing stuff.

@coveralls

Coverage Status

Coverage increased (+0.01%) when pulling 00f6558 on jseabold:object-dtype into 7f42939 on statsmodels:master.

@coveralls

Coverage Status

Coverage increased (+0.01%) when pulling 00f6558 on jseabold:object-dtype into 7f42939 on statsmodels:master.

@jseabold jseabold merged commit 2e5d13a into statsmodels:master Sep 26, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
@jseabold jseabold deleted the jseabold:object-dtype branch Oct 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment