Skip to content

Commit

Permalink
fix(ecdatakit): print empty values in marker line (#425)
Browse files Browse the repository at this point in the history
## Description

When strings were specifed polars infered `str` as data type for each
column.
  • Loading branch information
kkafar authored Aug 26, 2023
1 parent 411e836 commit 74ee3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jssp/problem/probe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl Probe<JsspIndividual> for JsspProbe {
// This is a marker record for ECDataKit. Since it looks like
// polars.DataFrame.read_csv deduces number of columns from the first encoutered
// record it leads to crashes when longer records are encountered deeper in the file.
info!(target: "csv", "event,col_1,col_2,col_3,col_4,col_5,col_6,col_7");
info!(target: "csv", "event,,,,,,,");
}

fn on_initial_population_created(
Expand Down

0 comments on commit 74ee3a0

Please sign in to comment.