Python Tutorials: Map function tutorial (usage and examples)

preview_player
Показать описание
In this video we will examine the Python map function():
- what it does
- how to use it
- some examples

Python map function() is used a lot in scripts, so it is good to be comfortable with this function.

Github code is here:

#PythonMapFunction
#PythonMapFunctionMadeEasy
Рекомендации по теме
Комментарии
Автор

Related Topics:
Lambda:



Map:




Filter:




Reduce:


PyMoondra
Автор

What about this case list(map(int, list)), why we use to pass integer instead of any function?

rafiashabbir
Автор

Thank you for this video. Map function in Python looks pretty similar to “apply” in R. Very useful.

alex_
Автор

You said at the beginning of the video that map take two arguments - an iterable and a function. But later on you demonstrated it taking a function and an iterable (note the order).

And now I had to unlearn what I first heard you say. Not cool man, not cool at all, but thanks.

Pls help by being more careful with your choice of word orders going forward, thanks.

Samuel-brlr
Автор

If we have a columns with zeros and ones, and we have to get output as Yes and No. How to use map function to get that?

sandeeshnit
Автор

Thank you teacher . This video was very helpfull . May you teach how can ı write Mysql or Sql in python .

teymurahmadov
Автор

Sorry, but the beginning of the video turned me off. It is hard enough to learn what I need to learn without going through the "wrong way" or less efficient way first.

expat
Автор

TypeError: map() takes 1 positional argument but 2 were I'm so sick of this shit

jasong