General

Profile

ggmichaelgo (Michael Go)

  • Login: ggmichaelgo
  • Registered on: 08/01/2021
  • Last connection: 08/03/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

08/02/2021

02:16 PM Ruby master Feature #18057: Introduce Array#mean
@nobu - yup, you are correct. The expected behaviour should be like this
```ruby
[1,2].mean #=> 1.5
```
ggmichaelgo (Michael Go)
04:46 AM Ruby master Feature #18057: Introduce Array#mean
Thank you @mrkn!
I didn't know about enumerable-statistics, and I can definitely use this in my projects!!
I wish I...
ggmichaelgo (Michael Go)
04:42 AM Ruby master Feature #18057: Introduce Array#mean
I definitely prefer using `mean` over `average`!
ggmichaelgo (Michael Go)
01:50 AM Ruby master Feature #18057: Introduce Array#mean
oh goodness... that is embarrassing... Thank you for catching my error... 🙏 ggmichaelgo (Michael Go)
01:26 AM Ruby master Feature #18057: Introduce Array#mean
Hello Sawa! I apologize for the confusion... (this is my first time contributing, and I am hoping to contribute more ... ggmichaelgo (Michael Go)
12:22 AM Ruby master Feature #18057: Introduce Array#mean
I have created PR for this feature :)
https://github.com/ruby/ruby/pull/4699
ggmichaelgo (Michael Go)
12:02 AM Ruby master Feature #18057 (Open): Introduce Array#mean
Introduce Array#average to calculate the average value of an array.
```ruby
array = [1, 2, 3]
array.mean # 2
...
ggmichaelgo (Michael Go)

Also available in: Atom