Python 3 Programming Tutorial 11 | Loops | How to iterate over each row of python dataframe

preview_player
Показать описание
In this Python 3 Programming Tutorial 10 I have talked about How to iterate over each row of python dataframe for data processing.

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

Great Video..great pace and presentation

rks
Автор

Good job! Videos on loops over pandas and dictionaries are an aspect many students need help in. Your explanations casts lights on how to reach the destination - this is exactly gives brains a direction in learning, a pathway, a goal. Excellent piece of work, Keep it up! Good luck!

fet
Автор

Hi, thanks for the videos,
But I have a problem: a table with merge cells, and i keep getting NaN, there's a way to condition to avoid these NaN?


for key, value in df.iterrows():
print(value)


Módulo Módulo 1 (Introductorio)
Tema 0. Bienvenida a Módulo
Subtema NaN
Recurso Video Fondo Verde
Estructura 1.0.1.1
Nombre Bienvenida a módulo


I want to create a word based o a variable of my data.
if Tema is not NaN then ...

davidgza
Автор

How could I get only the two first columns (CRIM and ZN) of all the rows to be sent to a function?

hexodo
Автор

I have 8000 data on rows. I want to do some calculations with each 100 data from row. First 100, second second 100 and so on. How should I do that?

kiranpandey
Автор

Sir I want to assign url to each unique value of a column. Column has 1lac rows and there are 6k unique values. How to approach this problem?

sonal
Автор

this not the way to go.. it does the job but on real life data set it takes ages also pandas suggest not to use these unless no option remaining . best ways are vectorization and cython

User-nqee