Eve
New Contributor III

Looping is not always necessary, I always use this foreach method, something like the following:

aps.collect().foreach(row => <do something>)