-
Notifications
You must be signed in to change notification settings - Fork 4
/
dataframe.sls
129 lines (126 loc) · 2.26 KB
/
dataframe.sls
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
(library (dataframe)
(export
;; record-types
dataframe-contains?
dataframe?
dataframe-equal?
dataframe-slist
dataframe-names
dataframe-dim
make-df*
make-dataframe
make-series*
make-series
make-slist
series?
series-equal?
series-name
series-lst
series-length
series-type
->
->>
;; types
count
count-elements
convert-type
get-type
guess-type
;; rename
dataframe-rename*
dataframe-rename
dataframe-rename-all
;; select
dataframe-drop
dataframe-drop*
dataframe-select
dataframe-select*
dataframe-series
dataframe-values
$
;; crossing
dataframe-crossing
;; split
dataframe-split
;; filter
dataframe-filter
dataframe-filter*
dataframe-filter-all
dataframe-filter-at
dataframe-partition
dataframe-partition*
dataframe-head
dataframe-tail
dataframe-ref
dataframe-unique
dataframe-remove-na
;; display
dataframe-display
dataframe-glimpse
;; sort
dataframe-sort
dataframe-sort*
;; bind
dataframe-append
dataframe-bind
dataframe-bind-all
;; modify
dataframe-modify
dataframe-modify*
dataframe-modify-all
dataframe-modify-at
;; aggregate
dataframe-aggregate
dataframe-aggregate*
;; join
dataframe-inner-join
dataframe-left-join
dataframe-left-join-all
;; reshape
dataframe-stack
dataframe-spread
;; io
csv->dataframe
tsv->dataframe
dataframe->csv
dataframe->tsv
dataframe-read
dataframe-write
;; statistics
cumulative-sum
sum
product
mean
weighted-mean
variance
standard-deviation
median
quantile
interquartile-range
rle
;; helpers
na?
any-na?
remove-na
remove-duplicates
rep
transpose)
(import (rnrs)
(dataframe record-types)
(dataframe types)
(dataframe rename)
(dataframe select)
(dataframe crossing)
(dataframe split)
(dataframe filter)
(dataframe display)
(dataframe sort)
(dataframe bind)
(dataframe modify)
(dataframe aggregate)
(dataframe join)
(dataframe reshape)
(dataframe io)
(dataframe statistics)
(dataframe helpers))
)