Skip to content

Commit

Permalink
fix cols
Browse files Browse the repository at this point in the history
  • Loading branch information
Pietro Vertechi committed Aug 30, 2017
1 parent 973dc72 commit 0f0ed37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/df.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function _df(d, x::Expr)
(x.head == :quote) && return :(StatPlots.select_column($d, $x))
if x.head == :call
x.args[1] == :^ && length(x.args) == 2 && return x.args[2]
x.args[1] == :cols && return :(hcat((convert_column($d[i]) for i in $(x.args[2]))...))
x.args[1] == :cols && return :(hcat((StatPlots.convert_column($d[i]) for i in $(x.args[2]))...))
end
return Expr(x.head, _df.(d, x.args)...)
end
Expand Down

0 comments on commit 0f0ed37

Please sign in to comment.