Python 資料處理筆記 —加速Pandas

#安裝
pip install modin
#加速版
import modin.pandas as pd
#原版
import pandas as pd

測試結果

Image for post

從上面的表格可以看出,Modin並非在每個方面都比原版的Pandas還要快。整體來說,讀取檔案Modin快;統計數據時Pandas快

Written by

Machine Learning / Deep Learning / Python / Flutter cakeresume.com/yanwei-liu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store