Yep that’s it. There is an iterator eachcol and also a function mapcols that can help you do this. Unfortunately, there is no mapnumericcols, so you always need to check column types as in your example (so it basically isn’t really any easier with those functions).