Pandas Apply - pd.DataFrame.apply()

preview_player
Показать описание

Pandas Apply is a Swiss Army knife workhorse within the family.

Pandas apply will run a function on your DataFrame Columns, DataFrame rows, or a pandas Series. This is very useful when you want to apply a complicated function or special aggregation across your data.

Pseudo code: Iterate through a DataFrame's columns or rows, and apply a certain function to the data.
Рекомендации по теме
Комментарии
Автор

how does the print function runs without any argument feeded to it in the apply() ?

Ninja-iqxt