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 function(a): return a*a x = map(function, (1,2,3,4)) #x is the map object print(x) print(set(x))
Source by www.analyticsvidhya.com #
PREVIOUS
NEXT
Tagged:
#map
#reduce
#filter
#functions
#python
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit