DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
map reduce and filter functions in python
def func(x): if x>=3: return x y = filter(func, (1,2,3,4)) print(y) print(list(y))
Source by www.analyticsvidhya.com #
PREVIOUS
NEXT
Tagged:
#map
#reduce
#filter
#functions
#python
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit