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

Python

6378 readers
120 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
[–] [email protected] 0 points 1 year ago (1 children)

I don't know all the details, but is there anything that you couldn't do with dynamic array formulas, Power Query, or VBA? While Power Query requires the data to be formatted as an Excel table (or, recently, as a dynamic array output), both dynamic array formulas and VBA can can data from noncontinuous regions and convert it to a single, continuous data region. All of these tools can achieve tasks such as sorting rows, filtering rows, reordering columns, removing columns, etc.

Alternatively, why couldn't this be done in Python (without Excel)? Any Excel formula used to manipulate the data can be accomplished in Python. Additionally, having it in Python (outside of Excel) may help you further automate your process by doing the SAP Database Export and enter the data into your CMS.