Skip to content

Commit

Permalink
Remove use of Tables.istable (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj authored and nalimilan committed May 7, 2019
1 parent 298a655 commit 1bc6c71
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/freqtable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ freqtable(x::AbstractCategoricalVector...; skipmissing::Bool = false,
_freqtable(x, skipmissing, weights, subset)

function freqtable(t, cols::Symbol...; args...)
Tables.istable(t) || throw(ArgumentError("data must be a table"))
all_cols = Tables.columns(t)
a = freqtable((getproperty(all_cols, y) for y in cols)...; args...)
setdimnames!(a, cols)
Expand Down

0 comments on commit 1bc6c71

Please sign in to comment.