nix: fix postgrest-loadtest-to-markdown on NAs

The python script failed when presenting NAs with:

TypeError: boolean value of NA is ambiguous
This commit is contained in:
steve-chavez
2025-06-19 16:48:44 -05:00
parent 49de3c1ab8
commit c8adfebb1f
+1
View File
@@ -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')
'';