[//]: # (title: Iterating) Iterate over rows: ```kotlin for (row in df) { println(row.age) } df.forEach { println(it.age) } df.rows().forEach { println(it.age) } ``` ```kotlin for (row in df) { println(row["age"]) } df.forEach { println(it["age"]) } df.rows().forEach { println(it["age"]) } ``` Iterate over columns: ```kotlin df.columns().forEach { println(it.name()) } ``` Iterate over cells: ```kotlin // from top to bottom, then from left to right df.values().forEach { println(it) } // from left to right, then from top to bottom df.values(byRows = true).forEach { println(it) } ```