From 1d604558095505b7084c37c193f65c9e6afd2efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Tue, 15 Mar 2022 15:20:42 +0100 Subject: [PATCH] use simpler code --- ch14.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch14.jl b/ch14.jl index 14eb1a8..50a0e2c 100644 --- a/ch14.jl +++ b/ch14.jl @@ -129,7 +129,7 @@ end; df -all(==("OK"), getproperty.(df.data, :status)) +all(x -> x.status == "OK", df.data) df2 = select(df, :K, :data => ByRow(x -> x.value) => AsTable)