Any possibility for more advanced dataframe functionality. #19
-
Hello again Thank you for your efforts w.r.t. list-stat. I hope it bears fruit. I have read the previous discussion w.r.t. data-frame. I found myself wanting to recreate some spark/pandas functionality myself. In particular I was thinking of window functions. I cooked up something monserous myself (I've included it below) because I could not find the functionality I wanted anywhere.
The monstrosity (I apologise ... I'm not particularly good at lisp):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
As far as I know, there is no library in the Common Lisp ecosystem that approaches the functionality of Pandas or Spark, but that is the hope of Lisp-Stat. There's enough now to start building out an ecosystem; this will take time. For SQLDF, it is not the intention to push this functionality out to SQL. Part of the reason is because we want to be able to write UDFs (User Defined Functions) in Common Lisp. There's some additional functionality, like As for windowing, what I use is the displace function from array-operations. You can turn data frames into arrays and visa-versa pretty easily with If |
Beta Was this translation helpful? Give feedback.
As far as I know, there is no library in the Common Lisp ecosystem that approaches the functionality of Pandas or Spark, but that is the hope of Lisp-Stat. There's enough now to start building out an ecosystem; this will take time.
For SQLDF, it is not the intention to push this functionality out to SQL. Part of the reason is because we want to be able to write UDFs (User Defined Functions) in Common Lisp. There's some additional functionality, like
split-appy-combine
andstack
that's in my local repo that needs cleaning up. If those interest you I can push the work in progress to a branch.As for windowing, what I use is the displace function from array-operations. You can turn data fram…