Skip to content

Commit

Permalink
Merge pull request #86 from ramcha24/pull-request/eac1a861
Browse files Browse the repository at this point in the history
fix Symbol typo
  • Loading branch information
madeleineudell committed Jul 18, 2019
2 parents 27a4e6c + eac1a86 commit d36c634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fit_dataframe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function expand_categoricals!(df::DataFrame,categoricals::Array{Int,1})
levels = sort(unique(df[:,col]))
for level in levels
if !ismissing(level)
colname = symbol(string(colnames[col])*"="*string(level))
colname = Symbol(string(colnames[col])*"="*string(level))
df[colname] = (df[:,col] .== level)
end
end
Expand Down

0 comments on commit d36c634

Please sign in to comment.