From 105348fa3645d2328ea25c84fc17df2b952ceec8 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Thu, 12 May 2022 11:50:34 +0200 Subject: [PATCH] Add precision to fitted probability distribution parameters --- slr/get_slr_distributions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slr/get_slr_distributions.py b/slr/get_slr_distributions.py index 1755529..84792dc 100644 --- a/slr/get_slr_distributions.py +++ b/slr/get_slr_distributions.py @@ -87,7 +87,7 @@ for i, row in dff.iterrows(): plt.show() # Save distribution parameters -dff[['loc', 'scale']].to_csv('cauchy-values.csv', float_format='%0.3f') +dff[['loc', 'scale']].to_csv('cauchy-values.csv', float_format='%g') if PLOT: # Plot all distributions