Skip to content

innerjoin, leftjoin, and frame indexing

Pre-release
Pre-release
Compare
Choose a tag to compare
@tedmiddleton tedmiddleton released this 10 Oct 18:55
· 32 commits to main since this release
a366269

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 ];