184

Microsoft is bringing popular programming language Python to Excel. A public preview of the feature is available today, allowing Excel users to manipulate and analyze data from Python.

You won’t need to install any additional software or set up an add-on to access the functionality, as Python integration in Excel will be part of Excel’s built-in connectors and Power Query. Microsoft is also adding a new PY function that allows Python data to be exposed within the grid of an Excel spreadsheet. Through a partnership with Anaconda, an enterprise Python repository, popular Python libraries like pandas, statsmodels, and Matplotlib will be available in Excel.

you are viewing a single comment's thread
view the rest of the comments
[-] zeusbottom@sh.itjust.works 3 points 10 months ago

Fantastic news. This will help me immensely!

Having it run locally would be even more help for my use cases. I often have lists of IP addresses in my sheets, and it would be helpful to ping them directly from Python code. But I can work around that with fping or nmap.

[-] rhymepurple@lemmy.ml 6 points 10 months ago

This integration won't allow you to do that. Python will not run locally, but instead on Microsoft's platform (likely Azure).

If you're just reading some simple data from Excel, there are several ways of accomplishing this already. For example, Pandas has read_excel() and there is also openpyxl. You could even use those tools to write the results back to Excel. Things get more complicated though if the Excel file is something more than just a simple list.

[-] Remavas@programming.dev 2 points 10 months ago

And honestly, for data you should be using formats like .csv anyways. i really don't see who this update is supposed to target. If you're using Python, the data must be large enough to warrant its use.

[-] zeusbottom@sh.itjust.works 2 points 10 months ago

Indeed

‘Tis better to .split() in the cloud than never to .split() at all

this post was submitted on 22 Aug 2023
184 points (98.4% liked)

Python

5891 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

October 2023

November 2023

PastJuly 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS