mirror of
https://github.com/huggingface/candle.git
synced 2025-06-16 10:38:54 +00:00
Cleanup:
- Moved around book from `examples` to `candle-book` proper (overlapping the book and the lib structures)
This commit is contained in:
@ -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:?}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user