summaryrefslogtreecommitdiff
path: root/candle-datasets/src/hub.rs
diff options
context:
space:
mode:
Diffstat (limited to 'candle-datasets/src/hub.rs')
-rw-r--r--candle-datasets/src/hub.rs18
1 files changed, 9 insertions, 9 deletions
diff --git a/candle-datasets/src/hub.rs b/candle-datasets/src/hub.rs
index c00a788c..ae40bc57 100644
--- a/candle-datasets/src/hub.rs
+++ b/candle-datasets/src/hub.rs
@@ -81,14 +81,14 @@ mod tests {
);
// Keep for now to showcase how to use.
- //for row in rows {
- // if let Ok(row) = row {
- // for (_idx, (_name, field)) in row.get_column_iter().enumerate() {
- // if let parquet::record::Field::Str(value) = field {
- // println!("Value {value:?}");
- // }
- // }
- // }
- //}
+ for row in rows {
+ if let Ok(row) = row {
+ for (_idx, (_name, field)) in row.get_column_iter().enumerate() {
+ if let parquet::record::Field::Str(value) = field {
+ println!("Value {value:?}");
+ }
+ }
+ }
+ }
}
}