Skip to content

Commit 68de61c

Browse files
authored
Return empty string instead of [, i] for empty column name (#659)
1 parent a569d6e commit 68de61c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ark/src/data_explorer/r_data_explorer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ impl RDataExplorer {
580580
for i in 0..(total_num_columns as isize) {
581581
let column_name = match column_names.get_unchecked(i) {
582582
Some(name) => name,
583-
None => format!("[, {}]", i + 1),
583+
None => String::from(""),
584584
};
585585

586586
// TODO: handling for nested data frame columns

0 commit comments

Comments
 (0)