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
[-] ooterness@lemmy.world 9 points 10 months ago

But why does it need to run in the cloud?

[-] runner_g@lemmy.blahaj.zone 5 points 10 months ago

💰💰💰 By sending every calculation to Microsoft servers they can log what your company is doing and sell that data to ad-agencies. Also it forces you into a subscription.

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

I'm not a fan of it either, but I'm not sure how else this could work seamlessly. How would you ensure that everyone you share your Excel file that utilizes Python has the expected Python setup on their machine? What if they have an older version of a library you used that breaks your script? What if they don't have Python installed at all?

While this will only work on Windows desktop at first, Microsoft plans to roll this out to "other platforms" over time. Is there any other way for this integration to work for Excel for web, iPad, and/or Teams?

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

A simple check? Then a prompt to download the expected version?

This isn't rocket science. This is Microsoft forcing people to continually pay them.

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

Would something like this work for the web or Teams versions of Excel?

Regardless, I agree. The license and remote only execution are horrible.

[-] Golther@infosec.pub 2 points 10 months ago

A python distribution could be bundled inside of excel.

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

That's true. It wouldn't solve the dependency issue though (eg - I'm using Pandas v1.5.3, you're using Pandas v2.0.3) and I'm not sure how well it would work for some platforms like the web or Teams.

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

It could use a venv for each excel file.

[-] Golther@infosec.pub 1 points 10 months ago

I'm not sure exactly. Maybe it is one reason why they are pushing an online container. I guess then then it can have its own issues of dependency hell. At least with the container approach, everything either works or it is broken, and there is no having to verify which versions of Excel are installed to make the spreadsheet run.

I doubt the end user would have control over package versions, but I had not gotten around to playing with it yet.

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