this post was submitted on 22 Aug 2023
173 points (98.3% liked)

Python

6400 readers
16 users here now

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

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

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

founded 1 year ago
MODERATORS
 

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
[–] someguy3 2 points 1 year ago (1 children)

Probably like me. I knew just enough VBA to do what I wanted in Excel, but not enough to write it from scratch in vba or C++.

[–] [email protected] 1 points 1 year ago (1 children)

What do you mean? This new Python integration cannot accomplish the majority of things capable in VBA or C++ (or even regular Python).

[–] someguy3 1 points 1 year ago (1 children)

I can do basic things in vba. I don't know enough to leave Excel and start writing a standalone program in vba, c++, or Python. I can learn a few commands, but I'm not going to become a programmer.

[–] [email protected] 1 points 1 year ago (1 children)

So you're saying that you're more likely to use Python in Excel than Python outside Excel?

If you're "not going to become a programmer", wouldn't it just be better to learn the extra Excel formula or two instead of learning Python, Python data structures, Pandas, etc. in addition to how all that works within Excel?

Learning how to use HSTACK(), VSTACK(), XLOOKUP(), and other newer Excel fomulas will likely be much easier than understanding how to do the equivalent in Python.

[–] someguy3 1 points 1 year ago

I would never use Python outside of Excel just like I never use visual basic outside of Excel.

I would use it for the same reason I (rarely) use vba in Excel, some things you can't do with formulas.