pwshub.com

Anaconda's Excel-ish Python escapes Azure Cloud

Anaconda, the maker and distributor of data science tools, has unleashed a public beta of Anaconda Code that enables Python code to be run locally within Microsoft Excel.

Anaconda Code is part of the Anaconda Toolbox, an Excel add-in that provides data connectors, data visualization, AI assistance, and code snippets for Python code in Excel.

Based on PyScript, Anaconda Code improves upon the snake-named company's Python in Excel offering from 2023 which ran code remotely in Microsoft Azure. While Azure hosting obviates the potential complexity of tending Python instances on personal hardware, not everyone appreciates cloud dependency.

"With Anaconda Code, we're giving users freedom to control the environment," said Peter Wang, co-founder and Chief AI Innovation Officer at Anaconda, in a statement. "This release marks a significant step forward, enabling Excel users to harness Python's vast ecosystem while maintaining the speed, reliability and accessibility that businesses and individuals have come to expect from their data tools."

Anaconda sees the software as a way to give Excel users wider access to the Python ecosystem and its various data analysis tools within the comfort of a familiar spreadsheet. There are other ways to run Python in Excel, eg: PyXLL.

  • You know what spreadsheets need? LLMs, says Microsoft
  • It is 2023 and Excel's reign of date terror might finally be at an end
  • Microsoft boffins contemplate equipping Excel with AI
  • The nightmare is real: 'Excel formulas are the world's most widely used programming language,' says Microsoft

Alas, like pickles and peanut butter, or democracy and billionaires, not everyone is entirely sold on the combination of Excel and Python.

Felix Zumstein, managing partner for xlwings, a Python library for calling Python code from Excel, argued in a blog post last month that Python in Excel was a misfire because it doesn't serve as a scripting language nor support user-defined functions.

"Unfortunately, Python in Excel doesn’t support either of these two features," he wrote. "Instead of being an alternative to [Visual Basic for Applications], it’s designed to be an alternative to the Excel formula language. While I don’t think there’s anything wrong with Excel’s formula language, Python in Excel is really just a 2-dimensional Jupyter notebook inside the Excel grid.

Zumstein, who wrote a book called Python in Excel in 2021, contends that the Anaconda/Microsoft Python in Excel should have integrated a Jupyter notebook into an Excel task pane instead of putting notebook cells inside the grid.

He went on to outline plans to develop a local option called "xlwings script" that's based on Web Assembly (WASM). This would involve connecting Python running under WASM to the Excel object model with the help of PyScript. He added this would likely take a few months.

A month later, Anaconda Code is doing something similar.

The Anaconda Toolbox requires an anaconda.cloud account. It's free while in public beta. Future pricing has not been disclosed. ®

Source: theregister.com

Related stories
1 month ago - Academic, non-profit organizations now being told to pay up – or else Four years after data science biz Anaconda revised its terms of service, some research and academic organizations are just now finding out they have to pay for software...
1 day ago - Mac and Android loyals: you can look, but no calculation for now Office power users, rejoice: Python in Excel is now generally available - provided you have the right license and machine. …
1 month ago - Code of Conduct violations include allegations that posts created 'atmosphere of FUD' The Python Steering Council has decided to suspend a core Python developer for three months for alleged Code of Conduct violations.…
Other stories
28 minutes ago - After California passed laws cracking down on AI-generated deepfakes of election-related content, a popular conservative influencer promptly sued,...
51 minutes ago - Act fast to grab this high-performing mesh router for less than $500, keeping you connected while saving some cash too.
51 minutes ago - If the old-school PlayStation is dear to your heart, you can soon relive those totally sweet 1990s memories. Sony is releasing a series of products...
52 minutes ago - If you've got an old phone to part with, T-Mobile is offering both new and existing customers the brand-new Apple iPhone 16 Pro for free with this trade-in deal.
52 minutes ago - Who doesn't want the best for their beloved pooch? Grab some of these tasty treats to make your dog feel special.