diff --git a/load_dataset.py b/load_dataset.py index 8cfc184..a809e18 100644 --- a/load_dataset.py +++ b/load_dataset.py @@ -83,7 +83,7 @@ def analisis_univariado(dfi, target=None, continuas=[], discretas=[]): results.append([ var, "Discreta", "N/A", f"Frecuencias: {freq_table.values}", - f"Porcentajes: {percentages.values:.1f}%", + f"Porcentajes: {percentages.values.round(1)}", test_result ])