Skip to content

Commit 88e861a

Browse files
author
Christopher Doris
committed
fix non-existent function
1 parent 846d5e0 commit 88e861a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compat/tables.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function init_tables()
7474
codes = map(x -> x===missing ? -1 : Int(CategoricalArrays.levelcode(x))-1, x)
7575
cats = CategoricalArrays.levels(x)
7676
ordered = x.pool.ordered
77-
pypandasmodule().Categorical.from_codes(codes, cats, ordered=ordered)
77+
pyimport("pandas").Categorical.from_codes(codes, cats, ordered=ordered)
7878
end
7979
end
8080
end

0 commit comments

Comments
 (0)