Microsoft rolled out integrated Python support in Excel last year. It still hasn’t rolled out to everyone, but now the more advanced Python Editor has now graduated to beta status with some new functionality.
Microsoft started testing Python calculations in Excel back in August, allowing you to enter Python code in Excel that runs in the cloud and manipulates workbook data. The Python Editor is an extension of that functionality, giving you more room to create and edit Python code.
The Python Editor was initially an opt-in feature in the Excel Labs add-in, but now it’s rolled out to everyone with that extension installed. Microsoft plans to keep it in Excel Labs for a while, but presumably, it will roll out to all Excel users eventually. The new beta version has an updated design and interface to improve usability.
Microsoft said in a blog post, “From the Python Editor, you can see a list of all the Python cells in your spreadsheet. Each cell is treated like that of a code cell in a Jupyter notebook. Within the Python Editor pane, you can edit the cells and run them. The output of the Python cell can be displayed natively in your Excel spreadsheet, whether it is plain text, numeric, or even a visualization or DataFrame.”
The updated Python Editor shows the execution order for each cell with Python code, which can help with debugging, and display the output of each cell. It also has a larger editing area for Python code.
Python is available in Excel version 2406 (build 17726.20016) or later on Windows, which is currently in the preview release branch. If you have an Excel version that supports Python, you can install Excel Labs from the Office Store to get the more advanced Python Editor. Microsoft hasn’t confirmed when Python support will come to the other Excel apps.
The above is the detailed content of Microsoft Excel's Python Editor Just Got an Update. For more information, please follow other related articles on the PHP Chinese website!

Google Sheets' AI Function: A Powerful New Tool for Data Analysis Google Sheets now boasts a built-in AI function, powered by Gemini, eliminating the need for add-ons to leverage the power of language models directly within your spreadsheets. This f

This article explores various methods for combining text strings, numbers, and dates in Excel using the CONCATENATE function and the "&" operator. We'll cover formulas for joining individual cells, columns, and ranges, offering solutio

This tutorial explores various methods for efficiently merging cells in Excel, focusing on techniques to retain data when combining cells in Excel 365, 2021, 2019, 2016, 2013, 2010, and earlier versions. Often, Excel users need to consolidate two or

This tutorial explores various methods for comparing two or more columns in Excel to identify matches and differences. We'll cover row-by-row comparisons, comparing multiple columns for row matches, finding matches and differences across lists, high

This tutorial explores Excel's rounding functions: ROUND, ROUNDUP, ROUNDDOWN, FLOOR, CEILING, MROUND, and others. It demonstrates how to round decimal numbers to integers or a specific number of decimal places, extract fractional parts, round to the

This tutorial explores various methods for combining Excel sheets, catering to different needs: consolidating data, merging sheets via data copying, or merging spreadsheets based on key columns. Many Excel users face the challenge of merging multipl

This tutorial shows you how to quickly calculate simple moving averages in Excel, using functions to determine moving averages over the last N days, weeks, months, or years, and how to add a moving average trendline to your charts. Previous articles

This tutorial demonstrates various methods for calculating averages in Excel, including formula-based and formula-free approaches, with options for rounding results. Microsoft Excel offers several functions for averaging numerical data, and this gui


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Linux new version
SublimeText3 Linux latest version

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SublimeText3 Chinese version
Chinese version, very easy to use
