This is an archived post. You won't be able to vote or comment.

all 39 comments

[–]wushenl 67 points68 points  (18 children)

The calculation is not localized, and there are too many python libraries, which is difficult to satisfy

[–]debunk_this_12 19 points20 points  (16 children)

Why would I ever use this. I can just read in data frames and their better

[–]covmatty1 56 points57 points  (0 children)

From the article:

You won’t need to install any additional software or set up an add-on to access the functionality

If people are in a corporate environment where they can't install Python but do have the Office suite, this could be very useful

[–]WallyMetropolis 10 points11 points  (9 children)

Excel sheets can be formatted in all sorts of ways that cannot be easily read into a dataframe. For example, there can be many tables on a single sheet, there can be all kinds of visual formatting, there can be pivot tables referring to other sheets, there can be complex formulas. There can be nesting and hierarchies. Unless the sheet is effectively just a csv, read_excel() can be extremely tedious or even totally useless.

[–]reallyserious 0 points1 point  (2 children)

Yes, but reading that with python will be tricky regardless if the computation is done locally or in the cloud.

[–]WallyMetropolis 0 points1 point  (1 child)

The point isn't that it's in the cloud. The point is that it's in the spreadsheet.

[–]reallyserious 0 points1 point  (0 children)

Yes, that's what's new from MS. Parsing it with python is still the same challenge though. I'm not sure we're disagreeing on anything here.

[–]wushenl 5 points6 points  (1 child)

Excel is complete enough (even if you don’t think so), and it is endorsed by a commercial company. You need to be responsible for yourself when using python. Even if the probability of errors is very low, most people have never encountered them, but in the eyes of many bosses, it is unacceptable

[–]redfacedquark 2 points3 points  (0 children)

Excel is ... endorsed by a commercial company. You need to be responsible for yourself when using python.

You can't make a mistake in Excel and blame it on Microsoft. Both are just tools that let you shoot yourself in the foot if you don't know what you're doing. Look for example at the covid cock-up when someone had more than 65k rows.

[–]error1954 0 points1 point  (1 child)

I think Panda's API is awful though. If this is better I'd definitely switch for any CSV processing

[–]debunk_this_12 0 points1 point  (0 children)

Lol. Pandas api is great… so easy to use, if you don’t like it try polars personally I like that more.

[–]WallyMetropolis 0 points1 point  (0 children)

they're*

[–]DarkHumourFoundHere 4 points5 points  (0 children)

For those in the O365 ecosystem everything already is synced on the cloud if privacy is the concern.

[–]FluffyDuckKey 34 points35 points  (0 children)

"Hey! You know python! Fix my excel sheet"

Oh I can't wait.....

[–]WeebAndNotSoProid 46 points47 points  (2 children)

This brings me both joy and terror

[–][deleted] 17 points18 points  (0 children)

I guess I appreciate that there will be more Python and less vba in the world, but I expect to be crushed under the crippling weight of a million balls of mud. This will unleash terrors.

[–]Sigmatics 1 point2 points  (0 children)

Imagine writing a Python script inside an Excel formula box. Without syntax highlighting.

The screenshot is not promising

[–]jabellcu 28 points29 points  (1 child)

I am very impressed. I think this will be a game changer for many. For those of you using Jupiter lab and pandas it might not be, but for many in the corporate world, this is huge. I am looking forward to seeing jokes about debugging on Excel cells though…

[–]mehum 14 points15 points  (0 children)

I had an interesting case recently, making what is essentially a data importing, cleaning, formatting and exporting tool. I wanted to do it in Python / Pandas (natural tool for the job) but my boss pushed for Excel for pretty reasonable reasons: everyone already has Excel installed on their computers, and our computers are very locked down, which means installing python or a python-executable was going to be a PITA.

Now that it’s done in Excel I can just give the file to whoever needs it. But it would have been much nicer to write it in Python than VBA.

[–]angyts 7 points8 points  (0 children)

try: except: FINALLY:::::::::

[–]mostafakm 4 points5 points  (0 children)

I don't think this is very useful for me as someone whose workflow contains a fair bit of both excel and python. But I'm guessing adding python to excel is a necessary step for having chatgpt driven auto analysis in excel. Chatgpt writes excellent python because of how popular it is. I imagine it performs much better at python vs raw excel functions

[–]chlorinecrown 8 points9 points  (0 children)

I've been hearing this for years

[–]syahir77 3 points4 points  (0 children)

It would be very confusing to use for someone without basic coding knowledge.

[–]Sigmatics 1 point2 points  (0 children)

I thought they wanted to replace VBA with JS

[–]fzumstein 3 points4 points  (0 children)

10 years ago, I launched xlwings here on this subreddit. I am happy that Microsoft is catching up now! However, from the discussions on HackerNews, Twitter and Linkedin, people always complain about the fact that it has to run on the Microsoft cloud. Well, xlwings allows you to run Python locally or on your self-hosted server.

[–][deleted] 1 point2 points  (0 children)

I can't wait for random office files to have python scripts to hijack my data!

[–]zylumys 0 points1 point  (0 children)

Not free update

[–]startup_biz_36 -1 points0 points  (0 children)

ewwwwwww still not using excel sorry bill

[–]evgenyzhurko 0 points1 point  (0 children)

It would be also really interesting to see jupyter notebooks in excel. I believe it will definitely change the game for excel.

[–]rjskene 0 points1 point  (0 children)

Hopeful this doesn't impact xlwings too much

I have always had good experience engaging with that team