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

DummyCoding and Missing #148

Closed
matthieugomez opened this issue Sep 9, 2019 · 1 comment
Closed

DummyCoding and Missing #148

matthieugomez opened this issue Sep 9, 2019 · 1 comment

Comments

@matthieugomez
Copy link
Contributor

matthieugomez commented Sep 9, 2019

A variable of type Vector{Union{T, Missing}} is considered as a DummyCoding in apply_schema.

using StatsModels
df = DataFrame(a = Union{Missing, Float64}[1.0, 3.0, 4.0])
formula = @formula(0~a)
formula_schema = apply_schema(formula, schema(formula, df))

This should not happen.

@matthieugomez
Copy link
Contributor Author

Duplicate of #145

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

1 participant