HT TECH wants to start sending you push notifications. Click allow to subscribe

Microsoft announces Python integration in Excel; Know what’s coming

Microsoft has announced more features that are coming to Excel with the integration of the high-level programming language Python.

By: HT TECH
Updated on: Aug 24 2023, 14:21 IST
Microsoft is bringing Python integration to Excel, providing users with more features to work with. (Microsoft)

Launched in 1985, Microsoft Excel has been a powerful tool for businesses and individuals for almost 4 decades, and Microsoft has capitalized on this advantage by offering new features that attract and retain more users. It allows users to organize, analyze, and visualize their data in a better way. In June, Microsoft announced several major updates to its spreadsheet editor such as improvements in visualization, leveraging Office Scripts, recommended formulae, and more.

Now, Microsoft has announced more features that are coming to Excel with the integration of high-level programming language Python.

You may be interested in

Mobiles Tablets Laptops
7% OFF
Apple iPhone 15 Pro Max
  • Black Titanium
  • 8 GB RAM
  • 256 GB Storage
₹148,900₹159,900
Buy now
23% OFF
Samsung Galaxy S23 Ultra 5G
  • Green
  • 12 GB RAM
  • 256 GB Storage
₹115,999₹149,999
Buy now
Google Pixel 8 Pro
  • Obsidian
  • 12 GB RAM
  • 128 GB Storage
₹106,998
Check details
Apple iPhone 15 Plus
  • Black
  • 6 GB RAM
  • 128 GB Storage
₹87,900
Check details
27% OFF
Microsoft Surface Studio A1Y 00022
  • Platinum Silver
  • 16 GB LPDDR4X RAM
  • 512 GB SSD
₹179,990₹245,900
Buy now
47% OFF
Microsoft Surface 4 5UI 00049
  • Platinum Silver
  • 8 GB DDR4 RAM
  • 256 GB SSD
₹98,000₹186,500
Buy now
6% OFF
Microsoft Surface Pro GWP 00001
  • Space Grey
  • 8 GB RAM
  • 256 GB SSD
₹94,799₹100,999
Buy now
28% OFF
Microsoft Surface Book KSR 00020
  • Platinum
  • 8 GB DDR3 RAM
  • 128 GB SSD
₹74,000₹102,990
Buy now
34% OFF
Xiaomi Pad 6
  • Mist Blue
  • 6 GB RAM
  • 128 GB Storage
₹26,299₹39,999
Buy now
55% OFF
Lenovo Tab M10 5G
  • Abyss Blue
  • 6 GB RAM
  • 128 GB Storage
₹20,999₹47,000
Buy now
32% OFF
Realme Pad 2
  • Imagination Grey
  • 6 GB RAM
  • 128 GB Storage
₹19,790₹28,999
Buy now
Honor Pad X9
  • Gray
  • 4 GB RAM
  • 128 GB Storage
₹14,999
Check details

Microsoft Excel gets Python integration

Providing a major boost to its analytical capabilities, Microsoft on August 22 announced that it is bringing Python to Excel through a Public Preview. It will be natively integrated into the Excel grid and can be accessed using the Excel ribbon, without needing it to be separately installed. Users will be able to take advantage of its functions by inputting Python code directly into cells using the PY function, Microsoft announced in a blog post.

Also read: Looking for a smartphone? To check mobile finder click here.

Users can use Power Query and the connectors built in Microsoft Excel to bring over data from external sources to Python-enabled Excel sheets. It will be compatible with existing tools such as charts, formulae, PivotTables, and more. Python in Excel will use Anaconda Distribution running via Azure to provide analytics services such as predictive analytics, visualization using Matplotlib and Seaborn, cleaning data, and more.

Python in Excel will also leverage machine learning, forecasting techniques, and predictive analytics based on Python libraries such as scikit-learn and statsmodels to provide a variety of services such as time series modelling, regression analysis, and more.

Stefan Kinnestrand, General Manager of Product Marketing at Microsoft said, “Today, we are excited to introduce the Public Preview of Python in Excel – making it possible to integrate Python and Excel analytics within the same Excel grid for uninterrupted workflow.”

How to use Python is Excel

Step 1: Open a spreadsheet and select the cell where you want to apply the formula.

Step 2: Go to the formula ribbon and select ‘Insert Python’ option. You can also use the PY function to directly enable Python in that cell. If it is enabled, the cell will turn green and display a PY function.

Step 3: To reference Excel elements within a Python cell, make sure that it is in Edit mode, and then select the individual or range of cells you wish to apply the Python formula to.

  • Python in Excel takes advantage of the Python function xl() to establish a connection between Excel and Python, and it accepts objects such as ranges, tables, queries, and more. It's also possible to directly input references into a Python cell using the xl() function.
  • To access code-like editing functions such as using the Enter key to generate new lines of code, users can utilize the formula bar. You can also expand it to view multiple lines of code simultaneously using Ctrl+Shift+U.
  • To control how calculations are returned with Python in Excel, users can access the Python output menu located in the formula bar. You can either receive calculations as Excel values and output them to a cell or get them as Python objects containing additional information within cells.
  • Users can also import external data into Excel using the ‘Get & Transform’ feature, although the data should either be imported from a power query or Excel workbook.

Microsoft announced that users will be able to share Python in Excel workbooks with their teammates across platforms like Outlook and Teams without the need for any additional tools. As part of Microsoft 365, it runs with enterprise-level security on Microsoft Cloud. The Python in Excel feature is currently being rolled out in Public Preview for Microsoft 365 Insiders program users. They can access it using the Beta channel in Microsoft Excel.

Catch all the Latest Tech News, Mobile News, Laptop News, Gaming news, Wearables News , How To News, also keep up with us on ,Twitter, Facebook, , and Instagram. For our latest videos, subscribe to our YouTube channel.

First Published Date: 24 Aug, 13:54 IST

Sale

Mobiles Tablets Laptops
4% OFF
Samsung Galaxy S24 Ultra
  • Titanium Black
  • 12 GB RAM
  • 256 GB Storage
₹129,999₹134,999
Buy now
7% OFF
Apple iPhone 15 Pro Max
  • Black Titanium
  • 8 GB RAM
  • 256 GB Storage
₹148,900₹159,900
Buy now
13% OFF
Xiaomi 14
  • Matte Black
  • 12 GB RAM
  • 512 GB Storage
₹69,999₹79,999
Buy now
10% OFF
Apple iPhone 15 Plus
  • Black
  • 6 GB RAM
  • 128 GB Storage
₹80,590₹89,900
Buy now
33% OFF
Xiaomi Pad 6
  • Mist Blue
  • 6 GB RAM
  • 128 GB Storage
₹26,999₹39,999
Buy now
38% OFF
Lenovo Tab M10 5G
  • Abyss Blue
  • 6 GB RAM
  • 128 GB Storage
₹20,999₹34,000
Buy now
28% OFF
Realme Pad 2
  • Imagination Grey
  • 6 GB RAM
  • 128 GB Storage
₹17,999₹24,999
Buy now
13% OFF
Samsung Galaxy Tab S9 5G 256GB
  • Graphite
  • 8 GB RAM
  • 256 GB Storage
₹88,058₹101,398
Buy now
29% OFF
Acer Aspire 3 A315 24 NX KDESI 004 Laptop
  • Silver
  • 8 GB RAM
  • 512 GB SSD
₹31,990₹44,999
Buy now
28% OFF
Asus TUF Dash F15 FX517ZR HQ030WS Laptop
  • Black
  • 16 GB RAM
  • 1 TB SSD
₹55,990₹77,990
Buy now
41% OFF
MSI Modern 14 C12M 671IN Laptop
  • Urban Silver
  • 16 GB RAM
  • 512 GB SSD
₹32,490₹54,990
Buy now
31% OFF
Asus Zenbook 14 Flip OLED UP3404VA KN542WS Laptop
  • Ponder Blue
  • 16 GB RAM
  • 512 GB SSD
₹67,990₹98,990
Buy now
NEXT ARTICLE BEGINS