Python Pandas : iterrows and itertuples

Preprocessing data by looping through dataframe

Laxman Singh
4 min readSep 26, 2021

--

Pandas is one of the most used libraries in pre processing the data. Why? Pandas is simple, easy and filled with lots of utilities to tweak data. Pre processing always involves from loading the data, analyzing it and transforming it. This library has all the qualities to use data for preprocessing as it contains power of numpy and matplotlib. It is fast in executing, capable of doing array calculation and visualize your data in very simple commands. You can analyze whole dataset, each…

--

--

Laxman Singh

Machine Learning Engineer | Data Science | MTECH NUS, Singapore