Skip to content
Browse files

ROW and COLUMN should only be in the lisp-matrix or GSLL side. Datafr…

…ames are Case/Variable or similar domain

specific description!

Signed-off-by: AJ Rossini <blindglobe@gmail.com>
  • Loading branch information...
1 parent b33bc19 commit 9fbc6a47a53836c629442b4263470bda4166c2ce @blindglobe committed Feb 12, 2014
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/data/dataframe-initialisation.lisp
View
5 src/data/dataframe-initialisation.lisp
@@ -149,12 +149,11 @@ converting failures to nil"
(getf variable :name) ) into control-string
finally (format stream "~{~VA~}~%" control-string) ))
-(defun row (df row)
+(defun extract-row (df row)
(loop for col below (ncols df)
collect (xref df row col)))
(defmethod print-object ((object dataframe-like) stream)
-
(print-unreadable-object (object stream :type t)
(declare (optimize (debug 3)))
(format stream " ~d x ~d" (nrows object) (ncols object))
@@ -169,7 +168,7 @@ converting failures to nil"
(dotimes (i (nrows object)) ; print obs row
(terpri stream)
(format stream case-format (nth i (case-labels object)))
- (format stream format-control (row object i))))))
+ (format stream format-control (extract-row object i))))))
#|
(defun print-structure-relational (ds)

0 comments on commit 9fbc6a4

Please sign in to comment.
Something went wrong with that request. Please try again.