Обложка канала

Библиотека питониста

30207 @pyproglib

Полезные материалы по всему, что может быть полезно питонисту.

Библиотека питониста

3 года назад
Открыть в
How to Iterate Over Rows in pandas, and Why You Shouldn't – Real Python

In this tutorial, you'll learn how to iterate over a pandas DataFrame's rows, but you'll also understand why looping is against the way of the panda. You'll understand vectorization, see how to choose vectorized methods, and compare the performance of iteration against pandas.

Realpython