From c8adfebb1f86d36e95143bb0d2bb240bb0afc947 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 19 Jun 2025 16:48:44 -0500 Subject: [PATCH] nix: fix postgrest-loadtest-to-markdown on NAs The python script failed when presenting NAs with: TypeError: boolean value of NA is ambiguous --- nix/tools/loadtest.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/tools/loadtest.nix b/nix/tools/loadtest.nix index 02390a7dc..6f3c7462a 100644 --- a/nix/tools/loadtest.nix +++ b/nix/tools/loadtest.nix @@ -209,6 +209,7 @@ let pd.read_json(sys.stdin) \ .set_index('param') \ .drop(['branch', 'earliest', 'end', 'latest']) \ + .fillna("") \ .convert_dtypes() \ .to_markdown(sys.stdout, floatfmt='.0f') '';