Library | Status | Version | License | OS | Compiler |
---|---|---|---|---|---|
nimdataframe | Development | 0.0.1.x | MIT opensource | Linux | Nim >= 0.15 |
Attempt of using csv data from the net, locally or generated to implement display,handling,sorting and data extraction.
nimble install random
nimble install https://github.com/qqtop/NimCx.git
http://qqtop.github.io/nimdataframe.html
nimble install https://github.com/qqtop/nimdataframe.git
Example Code
## nimdfT1.nim
## Testing nimdataframe
## compile with : nim c -d:ssl -d:release -r nimdfT1
import cx , nimdataframe
var ufo = "http://bit.ly/uforeports" # data used in pandas documentation
var ndf:nimdf # define a nim dataframe
ndf = createDataFrame(ufo)
printLnBiCol("Data Source : " & ufo)
echo()
showDf(ndf, rows = 15,cols = @[1,2,3,4,5],colwd = @[15,7,14,6,15],colcolors = @[pastelgreen,pastelpink,peru,gold],showFrame = true,framecolor = dodgerblue,showHeader = true)
echo()
showDataframeInfo(ndf)
doFinish()
Tests with StockData
NOTE :
Improvements may be made at any time.
Forking ,testing, suggestions , ideas are welcome.
This is development code , hence use at your own risk.
Tested openSuse 13.2 , openSuse TumbleWeed