We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 846d5e0 commit 88e861aCopy full SHA for 88e861a
src/compat/tables.jl
@@ -74,7 +74,7 @@ function init_tables()
74
codes = map(x -> x===missing ? -1 : Int(CategoricalArrays.levelcode(x))-1, x)
75
cats = CategoricalArrays.levels(x)
76
ordered = x.pool.ordered
77
- pypandasmodule().Categorical.from_codes(codes, cats, ordered=ordered)
+ pyimport("pandas").Categorical.from_codes(codes, cats, ordered=ordered)
78
end
79
80
0 commit comments