PyXLL-Jupyter資料分析工具可以代替Excel VBA 的功能,可以輕鬆的將python整合到excel中,從而實現在excel中使用python作為資料分析的指令碼語言,完成各類資料分析的需求。
【閱讀全文】
外掛安裝
1、pyxll安裝
# C:\Users\Administrator>pip install pyxll# Collecting pyxll# Downloading pyxll-5。2。5-cp38-none-any。whl (54 kB)# |████████████████████████████████| 54 kB 137 kB/s# Installing collected packages: pyxll# Successfully installed pyxll-5。2。5# WARNING: You are using pip version 21。1。1; however, version 21。2。4 is available。# You should consider upgrading via the ‘c:\python38\python。exe -m pip install ——upgrade pip’ command。## C:\Users\Administrator>
2、pyxll命令安裝excel外掛
# 注意:若excel是32位的,則python也需要32位的。# C:\Users\Administrator>pyxll install# Found Excel 16。0 installed
3、安裝pyxll-jupyter外掛
# C:\Users\Administrator>pip install pyxll-jupyter# Collecting pyxll-jupyter# Downloading pyxll_jupyter-0。2。1-py3-none-any。whl (31 kB)# Requirement already satisfied: pyxll>=5。0。0 in c:\python38\lib\site-packages (from pyxll-jupyter) (5。2。5)# Collecting PySide2# Downloading PySide2-5。15。2-5。15。2-cp35。cp36。cp37。cp38。cp39-none-win_amd64。whl (136。3 MB)# |████████████████████████████████| 136。3 MB 12 kB/s
4、重啟excel
外掛支援
1、支援python魔法函式2、支援資料分析、資料處理3、支援python直接繪圖4、excel整合後的python直接展示IPython的互動式編碼
效果展示
1、初始操作頁面
2、資料同步效果
3、繪圖分析圖
【往期精彩】
● 如何使用python完成對WebService服務的呼叫?suds-py3外掛安利一下!
● 介紹一款優秀的IDE Grid Studio,Excel深度整合python,直接編寫並執行python程式碼塊!
● 十大開源軟體基金會你知道哪些?
● python內建函式透過字串的方式來執行函式程式碼塊,類似java的反射機制相當強大!
● python-Coverage 程式碼覆蓋率統計工具,生成html程式碼報告
● 磨刀不誤砍柴工,PyCharm開發工具的常規配置,充分提高開發效率!
● python程式的處理進度、視覺化管理,對執行步驟一目瞭然!
● python-openpyxl Excel的單元格樣式設定,包括字型、樣式、寬高等等!
● 瞭解一下百度提供的python通用文字識別功能,距離百度AI近了一點點!
● 一句程式碼生成的超炫二維碼
● python-docxtpl妙用:論文神器,excel習題集自動轉換成word文件格式!
● 辦公室文員必備python神器,將PDF檔案表格轉換成excel表格!
● python 中最好用的身份證規則解析工具,地區碼、性別、出生年月、身份證編碼等快速校驗!
● os用法總結:python中必須掌握的內建模組os,實現與計算機作業系統的常規互動!
本文由WeiXin公眾號【python 集中營】一鍵釋出,更多精彩文章、影片資料即可領取!