5 points · by tigitz · 8y ago · 6 comments
It gives your learning project a real meaning and therefore helps with your motivation to learn.
I'm trying to build a list of libraries having this potential.
Which library made you think "I wish it was ported on language X" ?
That is, I would like to have an iterator in Python in which I could do:
from statistics import mean
from niceportedlib import Stream
salaries = Stream([]) # Some data here
mean_salary_by_department = salaries.group_by(lambda v: v['department']).map_values(statistics.mean)
Pandas does help, but is not pure Python (has native dependencies).