-
Notifications
You must be signed in to change notification settings - Fork 1
Closed as not planned
Description
Is your feature request related to a problem? Please describe
If we want to get a clear overview of a numerical column with min, max, mean, std... we need to make multiple function class and the Code will look something like this.
print(sup_table.target_values.statistics.mean())
print(sup_table.target_values.statistics.mode())
print(sup_table.target_values.statistics.median())
print(sup_table.target_values.statistics.standard_deviation())
print(sup_table.target_values.statistics.variance())
print(sup_table.target_values.statistics.min())
print(sup_table.target_values.statistics.max())
print(sup_table.target_values.statistics.__str__())generated output:
180921.19589041095
140000
163000.0
79442.50288288662
6311111264.297448
34900
755000
Desired solution
Add __repr__ and/or __str__ to stastitics so the output is kind of like in the Pandas describe() function.
y = house_data.SalePrice
y.describe()generated output:
count 1460.000000
mean 180921.195890
std 79442.502883
min 34900.000000
25% 129975.000000
50% 163000.000000
75% 214000.000000
max 755000.000000
Additional context (optional)
Related issue: #316
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels