I have a large amount of data with which it is necessary to carry out some calculations. And i wonder what is the most efficient way to iterrate through data.
For now i tried to put the data into the pandas DataFrame and use iterrows. But i wonder is there any faster and efficient way.
For example i have the following data in DataFrame:
I need to compare columns "sum" in each row. And coclude if some 'event' happend at that point of time. If it did i'm adding the event to the event list. What else but the iterrows might be helpful to do this?