diff --git a/Project.toml b/Project.toml index 427dea82e5..8106f2cc4a 100644 --- a/Project.toml +++ b/Project.toml @@ -25,7 +25,7 @@ Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5" [compat] CategoricalArrays = "0.10.0" -Compat = "3.45, 4.1" +Compat = "3.46, 4.2" DataAPI = "1.10" InvertedIndices = "1" IteratorInterfaceExtensions = "0.1.1, 1" diff --git a/src/DataFrames.jl b/src/DataFrames.jl index 61706301b7..60be63d8ca 100644 --- a/src/DataFrames.jl +++ b/src/DataFrames.jl @@ -78,7 +78,6 @@ export AbstractDataFrame, select!, select, semijoin, - stack, subset, subset!, transform, @@ -142,6 +141,13 @@ else using Compat: ComposedFunction end +if VERSION >= v"1.9.0-DEV.1163" + import Base: stack +else + import Compat: stack + export stack +end + include("other/utils.jl") include("other/index.jl")