go-gota / gota

Gota: DataFrames and data wrangling in Go (Golang)
Other
2.98k stars 277 forks source link

Implement support for Median function as a more robust alternative to mean #52

Closed szaydel closed 5 years ago

szaydel commented 6 years ago

Hopefully you will find this useful. I feel like having median and mean together is quite valuable, in particular to make comparisons from same data. Certainly wide divergence between the two implies data has outliers. If you would rather change this implementation but do find it useful, do let me know.

Thanks!