/
DataFrames.jl
129 lines (112 loc) · 2.72 KB
/
DataFrames.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
module DataFrames
using Statistics, Printf, REPL
using Reexport, SortingAlgorithms, Compat, Unicode, PooledArrays, CategoricalArrays
@reexport using Missings, InvertedIndices
using Base.Sort, Base.Order, Base.Iterators
using TableTraits, IteratorInterfaceExtensions
import LinearAlgebra: norm
using Markdown
using PrettyTables
import DataAPI,
DataAPI.All,
DataAPI.Between,
DataAPI.Cols,
DataAPI.describe,
Tables,
Tables.columnindex,
Future.copy!
export AbstractDataFrame,
All,
AsTable,
Between,
ByRow,
Cols,
DataFrame,
DataFrameRow,
GroupedDataFrame,
SubDataFrame,
Tables,
allowmissing!,
antijoin,
by,
columnindex,
combine,
completecases,
crossjoin,
describe,
disallowmissing!,
dropmissing!,
dropmissing,
flatten,
groupby,
groupindices,
groupcols,
innerjoin,
insertcols!,
leftjoin,
mapcols,
mapcols!,
ncol,
nonunique,
nrow,
order,
outerjoin,
PrettyTables,
rename!,
rename,
repeat!,
rightjoin,
rownumber,
select!,
select,
semijoin,
stack,
transform,
transform!,
unique!,
unstack,
valuecols
# TODO: remove these exports in year 2021
export by, aggregate
if VERSION >= v"1.1.0-DEV.792"
import Base.eachcol, Base.eachrow
else
import Compat.eachcol, Compat.eachrow
export eachcol, eachrow
end
if VERSION < v"1.2"
export hasproperty
end
if isdefined(Base, :only) # Introduced in 1.4.0
import Base.only
else
import Compat.only
export only
end
include("other/utils.jl")
include("other/index.jl")
include("abstractdataframe/abstractdataframe.jl")
include("dataframe/dataframe.jl")
include("subdataframe/subdataframe.jl")
include("dataframerow/dataframerow.jl")
include("groupeddataframe/groupeddataframe.jl")
include("dataframerow/utils.jl")
include("other/broadcasting.jl")
include("abstractdataframe/selection.jl")
include("abstractdataframe/iteration.jl")
include("abstractdataframe/join.jl")
include("abstractdataframe/reshape.jl")
include("groupeddataframe/splitapplycombine.jl")
include("groupeddataframe/callprocessing.jl")
include("groupeddataframe/fastaggregates.jl")
include("groupeddataframe/complextransforms.jl")
include("abstractdataframe/prettytables.jl")
include("abstractdataframe/show.jl")
include("groupeddataframe/show.jl")
include("dataframerow/show.jl")
include("abstractdataframe/io.jl")
include("abstractdataframe/sort.jl")
include("dataframe/sort.jl")
include("deprecated.jl")
include("other/tables.jl")
end # module DataFrames