ggmichaelgo (Michael Go)
- Login: ggmichaelgo
- Registered on: 08/01/2021
- Last sign in: 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
``` - 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... - 04:42 AM Ruby master Feature #18057: Introduce Array#mean
- I definitely prefer using `mean` over `average`!
- 01:50 AM Ruby master Feature #18057: Introduce Array#mean
- oh goodness... that is embarrassing... Thank you for catching my error... 🙏
- 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 ...
- 12:22 AM Ruby master Feature #18057: Introduce Array#mean
- I have created PR for this feature :)
https://github.com/ruby/ruby/pull/4699
- 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
...
Also available in: Atom