innerjoin, leftjoin, and frame indexing
Pre-release
Pre-release
mainframe now supports innerjoin and leftjoin functions, much like
auto fjoined = innerjoin( f1, _2, f2, _3 );
mainframe also supports flexible index operators for both columns and rows
// selects columns 3, 4, and 5 and then all rows where column 1 > 25 and column 2 is 2002 or later
auto fnew = f1[ _3, _4, _5 ][ _1 > 25.0 && _2 > 2002y/1/1 ];