Speed Test on Pandas Dataframe in Python #Shorts

preview_player
Показать описание
The results of our Pandas Speed Test: 10 Minutes compared to 0.3 sec!

Therefore:
To apply ANY FUNCTION on a Pandas Dataframe /Series DO:

1. vectorize your function (eg no if-else structure) or
2. use swifter (a Python lib)

to accelerate your Pandas df computation!

#dataframes
#sort
#shorts
#pandasdataframe
#datascience
#dataframe
#pythonprogramming
#colab
#pandas

Official link (credits to):
Рекомендации по теме