Fix to_df method in DataExportMixin (#20706)

This commit is contained in:
Laughing 2025-05-19 17:22:55 +08:00 committed by GitHub
parent 410d2d86b9
commit 62b68fb630
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -226,7 +226,7 @@ class DataExportMixin:
"""
import pandas as pd # scope for faster 'import ultralytics'
return pd.DataFrame(self.summary())
return pd.DataFrame(self.summary(normalize=normalize, decimals=decimals))
def to_csv(self, normalize=False, decimals=5):
"""