Skip to content

Commit

Permalink
Return empty string instead of [, i] for empty column name
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Jan 3, 2025
1 parent a569d6e commit 6f31a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ark/src/data_explorer/r_data_explorer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ impl RDataExplorer {
for i in 0..(total_num_columns as isize) {
let column_name = match column_names.get_unchecked(i) {
Some(name) => name,
None => format!("[, {}]", i + 1),
None => String::from(""),
};

// TODO: handling for nested data frame columns
Expand Down

0 comments on commit 6f31a69

Please sign in to comment.