Toggle navigation
WJY Blog
Home
About
Tags
WJY Blog
Thinking will not overcome fear but action will.
python常见函数
map、filter、reduce
Map map将一个函数apply到list_of_inputs输入列表的所有元素上 map(function,list_of_inputs) items = [1,2,3,4,5] s = list(map(lambda x:x**2,items)) s [1, 4, 9, 16, 25] lambda经常配合map使用 def squared(x): return...
Posted by WJY on October 22, 2018
← Newer Posts
FEATURED TAGS
spark
深度学习
机器学习
nlp
ABOUT ME
Goals determine what you going to be!
✉️ tkhajwjy@126.com
FRIENDS
寒小阳