Closed JARS3N closed 2 years ago
To make this work, you can use the 'augmented' version of the mtcars
data set. You can do that with (load #P"LS:DATASETS;ls-mtcars")
.
Dropping into the debugger when you don't have the extra information isn't what we want though, so I'll have to look into this and add some checks.
in https://lisp-stat.dev/docs/getting-started/data-frame/ documentation
(asdf:load-system :lisp-stat) (in-package :ls-user) (defdf mtcars (read-csv rdata:mtcars)) (summarize-column 'mtcars:mpg)
`The value
(21 21 22.8d0 21.4d0 18.7d0 18.1d0 14.3d0 24.4d0 22.8d0
is not of type SYMBOL [Condition of type TYPE-ERROR]
Restarts: 0: [RETRY] Retry SLIME REPL evaluation request. 1: [*ABORT] Return to SLIME's top level. 2: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {25C391B1}>)
Backtrace: 0: (DATA-FRAME::SUMMARIZE-GENERIC-VARIABLE #(21 21 22.8d0 21.4d0 18.7d0 18.1d0 ...)) 1: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SUMMARIZE-COLUMN (QUOTE MTCARS:MPG)) #)
2: (EVAL (SUMMARIZE-COLUMN (QUOTE MTCARS:MPG)))
--more--`