Skip to content

Commit 1bc6c71

Browse files
quinnjnalimilan
authored andcommitted
Remove use of Tables.istable (#40)
1 parent 298a655 commit 1bc6c71

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/freqtable.jl

-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ freqtable(x::AbstractCategoricalVector...; skipmissing::Bool = false,
191191
_freqtable(x, skipmissing, weights, subset)
192192

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

0 commit comments

Comments
 (0)