From 74ee3a0c489bebb34fd648c02a9a9f9d013ef577 Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Sat, 26 Aug 2023 21:57:21 +0200 Subject: [PATCH] fix(ecdatakit): print empty values in marker line (#425) ## Description When strings were specifed polars infered `str` as data type for each column. --- examples/jssp/problem/probe.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/jssp/problem/probe.rs b/examples/jssp/problem/probe.rs index 79a619d..d1d0daa 100644 --- a/examples/jssp/problem/probe.rs +++ b/examples/jssp/problem/probe.rs @@ -34,7 +34,7 @@ impl Probe 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(