This is the cl-data-frame Reference Manual, version 0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon May 15 03:46:35 2023 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-data-frame
Data frames for Common Lisp.
Tamas Papp <tkpapp@gmail.com>
Tamas Papp <tkpapp@gmail.com>
MIT
FIXME
0
alexandria
(system).
anaphora
(system).
array-operations
(system).
cl-num-utils
(system).
cl-slice
(system).
let-plus
(system).
cl-data-frame.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-data-frame/cl-data-frame.lisp
cl-data-frame
(system).
*column-summary-minimum-length*
(special variable).
add-column!
(function).
add-columns
(function).
add-columns!
(function).
alist-df
(function).
alist-dv
(function).
as-alist
(method).
as-array
(method).
as-array
(method).
axis-dimension
(method).
canonical-representation
(method).
column
(function).
(setf column)
(function).
column-length
(generic function).
column-summary
(generic function).
columns
(function).
copy
(function).
count-rows
(function).
data-frame
(class).
data-vector
(class).
df
(function).
dims
(method).
dims
(method).
do-rows
(function).
duplicate-key
(condition).
dv
(function).
element-type
(method).
initialize-instance
(method).
key-not-found
(condition).
keys
(function).
make-df
(function).
make-dv
(function).
map-columns
(function).
map-df
(function).
map-rows
(function).
mask-rows
(function).
matrix-df
(function).
ncol
(method).
nrow
(method).
plist-df
(function).
plist-dv
(function).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
print-object
(method).
replace-column
(function).
replace-column!
(function).
slice
(method).
slice
(method).
slice
(method).
*column-summary-quantiles-threshold*
(special variable).
add-key!
(function).
add-keys
(function).
alist-data
(function).
bit-vector-summary
(structure).
bit-vector-summary-count
(reader).
bit-vector-summary-length
(function).
bit-vector-summary-p
(function).
check-column-compatibility
(generic function).
copy-bit-vector-summary
(function).
copy-generic-vector-summary
(function).
copy-ordered-keys
(function).
copy-quantiles-summary
(function).
copy-vector-summary%
(function).
data
(class).
define-data-subclass
(macro).
ensure-arguments-alist
(function).
ensure-not-ratio
(function).
generic-vector-summary
(structure).
generic-vector-summary-element-count-alist
(reader).
generic-vector-summary-length
(function).
generic-vector-summary-p
(function).
generic-vector-summary-quantiles
(reader).
guess-alist?
(function).
key-index
(function).
keys-count
(function).
keys-vector
(function).
make-bit-vector-summary
(function).
make-data
(function).
make-generic-vector-summary
(function).
make-ordered-keys
(function).
make-quantiles-summary
(function).
make-vector-summary%
(function).
ordered-keys
(function).
ordered-keys
(structure).
ordered-keys-p
(function).
ordered-keys-table
(reader).
plist-data
(function).
print-count-and-percentage
(function).
quantiles-summary
(structure).
quantiles-summary-count
(reader).
quantiles-summary-max
(reader).
quantiles-summary-min
(reader).
quantiles-summary-p
(function).
quantiles-summary-q25
(reader).
quantiles-summary-q50
(reader).
quantiles-summary-q75
(reader).
vector-summary%
(structure).
vector-summary%-length
(reader).
vector-summary%-p
(function).
Packages are listed by definition order.
cl-data-frame
dframe
data-frame
alexandria
.
anaphora
.
cl-data-frame.column
.
cl-slice
.
cl-slice-dev
.
common-lisp
.
let-plus
.
*column-summary-minimum-length*
(special variable).
add-column!
(function).
add-columns
(function).
add-columns!
(function).
alist-df
(function).
alist-dv
(function).
column
(function).
(setf column)
(function).
columns
(function).
copy
(function).
count-rows
(function).
data-frame
(class).
data-vector
(class).
df
(function).
do-rows
(function).
duplicate-key
(condition).
dv
(function).
key-not-found
(condition).
keys
(function).
make-df
(function).
make-dv
(function).
map-columns
(function).
map-df
(function).
map-rows
(function).
mask-rows
(function).
matrix-df
(function).
plist-df
(function).
plist-dv
(function).
replace-column
(function).
replace-column!
(function).
add-key!
(function).
add-keys
(function).
alist-data
(function).
check-column-compatibility
(generic function).
copy-ordered-keys
(function).
data
(class).
define-data-subclass
(macro).
ensure-arguments-alist
(function).
guess-alist?
(function).
key-index
(function).
keys-count
(function).
keys-vector
(function).
make-data
(function).
make-ordered-keys
(function).
ordered-keys
(function).
ordered-keys
(structure).
ordered-keys-p
(function).
ordered-keys-table
(reader).
plist-data
(function).
cl-data-frame.column
alexandria
.
anaphora
.
common-lisp
.
let-plus
.
column-length
(generic function).
column-summary
(generic function).
*column-summary-quantiles-threshold*
(special variable).
bit-vector-summary
(structure).
bit-vector-summary-count
(reader).
bit-vector-summary-length
(function).
bit-vector-summary-p
(function).
copy-bit-vector-summary
(function).
copy-generic-vector-summary
(function).
copy-quantiles-summary
(function).
copy-vector-summary%
(function).
ensure-not-ratio
(function).
generic-vector-summary
(structure).
generic-vector-summary-element-count-alist
(reader).
generic-vector-summary-length
(function).
generic-vector-summary-p
(function).
generic-vector-summary-quantiles
(reader).
make-bit-vector-summary
(function).
make-generic-vector-summary
(function).
make-quantiles-summary
(function).
make-vector-summary%
(function).
print-count-and-percentage
(function).
quantiles-summary
(structure).
quantiles-summary-count
(reader).
quantiles-summary-max
(reader).
quantiles-summary-min
(reader).
quantiles-summary-p
(function).
quantiles-summary-q25
(reader).
quantiles-summary-q50
(reader).
quantiles-summary-q75
(reader).
vector-summary%
(structure).
vector-summary%-length
(reader).
vector-summary%-p
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Columns are only summarized when longer than this, otherwise they are returned as is.
Modify DATA (a data-frame or data-vector) by adding COLUMN with KEY. Return DATA.
Return a new data-frame or data-vector with keys and columns added. Does not modify DATA (see README about accepted argument formats).
Modify DATA (a data-frame or data-vector) by adding columns with keys (see README about accepted argument formats).
Return column corresponding to key.
Set column corresponding to key.
Return the columns as a vector, or a slice if given (keys are resolved).
Copy data frame or vector. Keys are copied (and thus can be modified), columns or elements are copyied using KEY, making the default give a shallow copy.
Count the number of rows for which PREDICATE called on the columns corresponding to KEYS returns non-NIL.
Traverse rows from first to last, calling FUNCTION on the columns corresponding to KEYS. Return no values.
List of keys.
Map columns of DATA-FRAME or DATA-VECTOR using FUNCTION. The result is a new DATA-FRAME with the same keys.
Map DATA-FRAME to another one by rows. Function is called on the columns corresponding to KEYS, and should return a sequence with the same length as RESULT-KEYS, which give the keys of the resulting data frame. RESULT-KETS should be either symbols, or of the format (symbol &optional (element-type t)).
Map rows using FUNCTION, on the columns corresponding to KEYS. Return the result with the given ELEMENT-TYPE.
Return a bit-vector containing the result of calling PREDICATE on rows of the columns corresponding to KEYS (0 for NIL, 1 otherwise).
Convert a matrix to a data-frame with the given keys.
Create a new data frame by with new column KEY from data-frame DATE by replacing it either with the given column, or applying the function to the current values (ELEMENT-TYPE is used.)
Modify column KEY of data-frame DATE by replacing it either with the given column, or applying the function to the current values (ELEMENT-TYPE is used.)
Return the length of column.
vector
)) ¶Return an object that summarizes COLUMN of a DATA-FRAME. Primarily intended for printing, not analysis, returned values should print nicely.
data
)) ¶Key-column pairs as an alist.
cl-num-utils.utilities
.
data-vector
)) ¶array-operations/generic
.
data-frame
)) ¶array-operations/generic
.
ordered-keys
)) ¶cl-slice-dev
.
ordered-keys
) (slice symbol
)) ¶cl-slice-dev
.
data-vector
)) ¶array-operations/generic
.
data-frame
)) ¶array-operations/generic
.
data-frame
) &rest initargs) ¶data-frame
)) ¶array-operations/generic
.
data-frame
)) ¶array-operations/generic
.
data-vector
) stream) ¶data-frame
) stream) ¶ordered-keys
) stream) ¶bit-vector-summary
) stream) ¶generic-vector-summary
) stream) ¶data-vector
) &rest slices) ¶cl-slice
.
data-frame
) &rest slices) ¶cl-slice
.
ordered-keys
) &rest slices) ¶cl-slice
.
Duplicate key.
error
.
:key
Key not found.
If the number of reals exceeds this threshold, they will be summarized with quantiles.
Modify ORDERED-KEYS by adding KEY.
Create an object of CLASS (subclass of DATA) from ALIST which contains key-column pairs.
Recognizes the following and converts them to an alist:
plist
alist
(plist)
(alist)
(data-frame)
When REAL is a RATIO, convert it to a float, otherwise return as is. Used for printing.
Test if the argument is an ALIST by checking its first element. Used for deciding which creation function to call.
Return the index for KEY.
Number of keys.
Vector of all keys.
Create a DATA object from KEYS and COLUMNS. FOR INTERNAL USE. Always creates a copy of COLUMNS in order to ensure that it is an adjustable array with a fill pointer. KEYS are converted to ORDERED-KEYS if necessary.
Create an ORDERED-KEYS object from KEYS (a sequence).
Create an object of CLASS (subclass of DATA) from PLIST which contains keys and columns, interleaved.
Print COUNT as is and also as a rounded percentage of
Check if COLUMN is compatible with DATA.
data-frame
) column) ¶Summary of a bit vector.
common-lisp
.
alexandria:array-index
0
This slot is read-only.
Summary for generic vectors.
Representation of ordered keys.
TABLE maps keys to indexes, starting from zero.
structure-object
.
hash-table
(make-hash-table :test (function eq))
This slot is read-only.
Summary of a real elements (using quantiles).
structure-object
.
common-lisp
.
alexandria:array-index
0
This slot is read-only.
common-lisp
.
real
0
This slot is read-only.
real
0
This slot is read-only.
real
0
This slot is read-only.
real
0
This slot is read-only.
common-lisp
.
real
0
This slot is read-only.
Base class for summarizing vectors. Not exported.
structure-object
.
common-lisp
.
alexandria:array-index
0
This slot is read-only.
This class is used for implementing both data-vector and data-matrix, and represents and ordered collection of key-column pairs. Columns are not assumed to have any specific attributes. This class is not exported.
Jump to: | (
A B C D E F G I K M N O P Q R S V |
---|
Jump to: | (
A B C D E F G I K M N O P Q R S V |
---|
Jump to: | *
C E K L M O Q S T |
---|
Jump to: | *
C E K L M O Q S T |
---|
Jump to: | B C D F G K O P Q S V |
---|
Jump to: | B C D F G K O P Q S V |
---|