Say goodbye to the annoying print debugging method.
A | |
1 | =T("stock.xlsx") |
2 | =A1.sort(DT) |
3 | =A2.group(CODE;~.group@i(CL< CL[-1]).max(~.len()):max_increase_days) |
Just 3 lines!
A | |
1 | =T("stock.xlsx") |
2 | =A1.sort(CODE,DT) |
3 | =A2.group@i(CODE!=CODE[-1]||CL< CL[-1]) |
4 | =A3.select(~.len()>=5) |
5 | =A4.conj() |
Getting Excel puzzles done
Cursor technology effortlessly handles big data that exceeds memory limits; simply adding options enables parallel computing to boost performance.
A | |
1 | StockRecords.txt |
2 | =file(A1).cursor@t().sortx(CODE,DT) |
3 | =A2.group(CODE;~.group@i(CL< CL[-1]).max(~.len()):max_increase_days) |
A | |
1 | StockRecords.txt |
2 | =file(A1).cursor@t().sortx(CODE,DT) |
3 | =A2.group(CODE).conj(~.group@i(CL< CL[-1])) |
4 | =A3.select(~.len()>=5).conj() |
=spl("=E(?1).sort(CODE,DT).group@i(CODE!=CODE[-1]||CL< CL[-1]).select(~.len()>=5).conj()",A1:D253)