Microsoft has integrated Python into Excel, and Uncle Gui participated in the formulation of the architecture

Microsoft has announced a public preview of Python integration into Excel (Python in Excel) , a feature that allows users to combine scripts in the popular Python language with their commonly used Excel formulas in the same workbook without any configuration use.

According to reports , Microsoft has implemented Python in Excel through cooperation with the data science platform Anaconda, which introduces the most popular Python library of the Anaconda Python distribution into Excel, including Matplotlib and seaborn for data visualization.

So users can manipulate and explore data in Excel using Python plotting functions and related libraries, and then use Excel's formulas, charts and pivot tables to further refine the analysis results, and by accessing Python directly from the Excel ribbon, in the familiar Excel environment Perform advanced data analysis.

Example of use

  • Enter Python code directly into Excel cells using the new PY function

  • Create charts using well-known Python charting libraries such as Matplotlib and seaborn

  • Easily join two complex datasets in Excel using Python code

  •  Visualize your data comprehensively using Python visualization libraries such as Matplotlib and Seaborn

By integrating Python, users can more easily perform data visualization, data cleaning, machine learning and predictive analysis in Excel.

Python in Excel is currently only available for the Windows Beta version, and the specific Excel version number is 16.0.16818.20000. To experience using Python in Excel, you need to join  the Microsoft 365 Insider program.


After retirement, the father of Python, Guido van Rossum, who was recruited by Microsoft, was deeply involved in the "Python in Excel" project, and he was responsible for the framework formulation .

Uncle Gui said: "I am very happy to see such a good and tight integration of Python and Excel, and I hope that both communities can find interesting new uses in this cooperation, thereby enhancing the capabilities of each partner. Three years When I joined Microsoft, I never dreamed that this would be possible. The Excel team is amazing!"

Guess you like

Origin www.oschina.net/news/254971/microsoft-excel-python-integration-support