Skip to content

Commit c8adfeb

Browse files
committed
nix: fix postgrest-loadtest-to-markdown on NAs
The python script failed when presenting NAs with: TypeError: boolean value of NA is ambiguous
1 parent 49de3c1 commit c8adfeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nix/tools/loadtest.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ let
209209
pd.read_json(sys.stdin) \
210210
.set_index('param') \
211211
.drop(['branch', 'earliest', 'end', 'latest']) \
212+
.fillna("") \
212213
.convert_dtypes() \
213214
.to_markdown(sys.stdout, floatfmt='.0f')
214215
'';

0 commit comments

Comments
 (0)