Skip to content

Commit 1dda5aa

Browse files
authored
Extend stack from Base/Compat (#3120)
1 parent 372c9fb commit 1dda5aa

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
2525

2626
[compat]
2727
CategoricalArrays = "0.10.0"
28-
Compat = "3.45, 4.1"
28+
Compat = "3.46, 4.2"
2929
DataAPI = "1.10"
3030
InvertedIndices = "1"
3131
IteratorInterfaceExtensions = "0.1.1, 1"

src/DataFrames.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export AbstractDataFrame,
7878
select!,
7979
select,
8080
semijoin,
81-
stack,
8281
subset,
8382
subset!,
8483
transform,
@@ -142,6 +141,13 @@ else
142141
using Compat: ComposedFunction
143142
end
144143

144+
if VERSION >= v"1.9.0-DEV.1163"
145+
import Base: stack
146+
else
147+
import Compat: stack
148+
export stack
149+
end
150+
145151
include("other/utils.jl")
146152
include("other/index.jl")
147153

0 commit comments

Comments
 (0)