Fix to_df method in DataExportMixin (#20706)
This commit is contained in:
parent
410d2d86b9
commit
62b68fb630
@ -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):
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user