2 Feb
2019
2 Feb
'19
6:29 a.m.
On Fri, Feb 1, 2019, 6:16 PM Adrien Ricocotam A thing I thought about but I'm not satisfy is using the new
matrix-multiplication operator: my_string_vector @ str.lower def compute_grad(a_student):
return "you bad"
my_student_vector @ compute_grad This is certainly doable. But why would it be better than:
map(str.lower, my_string_vector)
map(compute_grad, my_student_vector)
These latter seem obvious, clear, and familiar.