We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0686cc4 commit 0fbe0adCopy full SHA for 0fbe0ad
examples/advanced/plot_standardization.py
@@ -98,10 +98,11 @@
98
z_dh.data[np.abs(z_dh.data) > 4] = np.nan
99
100
from scipy.stats import kurtosis
101
+
102
kbef = kurtosis(dh_arr, nan_policy="omit")
103
kaft = kurtosis(z_dh.flatten(), nan_policy="omit")
-print("Excess kurtosis before standardization: {}".format(kbef))
104
-print("Excess kurtosis after standardization: {}".format(kaft))
+print(f"Excess kurtosis before standardization: {kbef}")
105
+print(f"Excess kurtosis after standardization: {kaft}")
106
107
# %%
108
# We perform a scale-correction for the standardization, to ensure that the spread of the data is exactly 1.
0 commit comments