• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Microsoft Brings Python Integration to Excel, but not for Everyone

AleksandarK

News Editor
Staff member
Joined
Aug 19, 2017
Messages
2,278 (0.92/day)
Microsoft today announced that Python integration is happening, and it is coming to the latest Excel version. Through a new partnership with Anaconda, Excel will natively support executing Python code and accessing popular Python data science libraries like Pandas, Matplotlib, and Statsmodels. This integration will empower Excel users to leverage the full capabilities of Python for data transformation, analysis, and visualization without switching between separate tools. The Python integration will be available starting today in preview form for Microsoft 365 Insider beta channel members. It is being added as part of Excel's Power Query data preparation feature.

To access it, Insiders must install the latest Excel preview build, then look under the Formulas tab for the new "Insert Python" option. This will allow them to write and execute Python scripts directly in Excel worksheets. The limited-time integration preview will revert to reduced functionality once it expires. At that point, users must purchase a license to regain full access. This reflects Microsoft's strategic move to position Python as an alternative to VBA for programming and automation in Excel. With this new level of Python integration, Excel continues to evolve as a versatile hub for data analysis tasks, reducing the need to switch between separate Python and Excel workflows. Anaconda provides documentation and training resources to help users take full advantage of the new capabilities.



Update 10:58 UTC: Just to clarify: only the "Office 365" cloud version receives Python integration—no improvements for the classic offline version.

View at TechPowerUp Main Site | Source
 

silentbogo

Moderator
Staff member
Joined
Nov 20, 2013
Messages
5,480 (1.42/day)
Location
Kyiv, Ukraine
System Name WS#1337
Processor Ryzen 7 3800X
Motherboard ASUS X570-PLUS TUF Gaming
Cooling Xigmatek Scylla 240mm AIO
Memory 4x8GB Samsung DDR4 ECC UDIMM
Video Card(s) Inno3D RTX 3070 Ti iChill
Storage ADATA Legend 2TB + ADATA SX8200 Pro 1TB
Display(s) Samsung U24E590D (4K/UHD)
Case ghetto CM Cosmos RC-1000
Audio Device(s) ALC1220
Power Supply SeaSonic SSR-550FX (80+ GOLD)
Mouse Logitech G603
Keyboard Modecom Volcano Blade (Kailh choc LP)
VR HMD Google dreamview headset(aka fancy cardboard)
Software Windows 11, Ubuntu 20.04 LTS
Even though I hate Python even more than I hate VBA, I still think it's a good move. Would be interesting to see if there's pip and if it'll allow for other addons & GUI elements to be used, in addition to charts (or just the "whitelisted" ones).
 
Joined
Dec 29, 2020
Messages
176 (0.14/day)
Considering vba scripts are a good access point for malware already, I hope they at least make sure there are sufficient warnings before executing python code.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
18,969 (2.84/day)
Location
Piteå
System Name Black MC in Tokyo
Processor Ryzen 5 5600
Motherboard Asrock B450M-HDV
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Kingston Fury 3400mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston A400 240GB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Line6 UX1 + some headphones, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Cherry MX Board 1.0 TKL Brown
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
It is worth noting that this is a cloud feature.
 
Joined
Aug 30, 2006
Messages
7,199 (1.11/day)
System Name ICE-QUAD // ICE-CRUNCH
Processor Q6600 // 2x Xeon 5472
Memory 2GB DDR // 8GB FB-DIMM
Video Card(s) HD3850-AGP // FireGL 3400
Display(s) 2 x Samsung 204Ts = 3200x1200
Audio Device(s) Audigy 2
Software Windows Server 2003 R2 as a Workstation now migrated to W10 with regrets.
MS, please release Excel 2024 classic. An up to date Excel with all new features and bugs squashed with CLASSIC INTERFACE not ribbon! Same for Word.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
18,969 (2.84/day)
Location
Piteå
System Name Black MC in Tokyo
Processor Ryzen 5 5600
Motherboard Asrock B450M-HDV
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Kingston Fury 3400mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston A400 240GB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Line6 UX1 + some headphones, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Cherry MX Board 1.0 TKL Brown
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
MS, please release Excel 2024 classic. An up to date Excel with all new features and bugs squashed with CLASSIC INTERFACE not ribbon! Same for Word.

Are you saying old Excel was bug free?
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,144 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
VBA is a cancer (that I still have to use a lot), but putting Python only in the cloud version is kinda lame
 
Joined
Jun 18, 2021
Messages
2,330 (2.16/day)
VBA is a cancer (that I still have to use a lot), but putting Python only in the cloud version is kinda lame

To me this looks like the first step to officially kill offline and standalone Office which is very sad, not that the writting wasn't on the wall for a very long time but still very disheartening
 
Joined
Dec 28, 2012
Messages
3,546 (0.85/day)
System Name Skunkworks
Processor 5800x3d
Motherboard x570 unify
Cooling Noctua NH-U12A
Memory 32GB 3600 mhz
Video Card(s) asrock 6800xt challenger D
Storage Sabarent rocket 4.0 2TB, MX 500 2TB
Display(s) Asus 1440p144 27"
Case Old arse cooler master 932
Power Supply Corsair 1200w platinum
Mouse *squeak*
Keyboard Some old office thing
Software openSUSE tumbleweed/Mint 21.2
To me this looks like the first step to officially kill offline and standalone Office which is very sad, not that the writting wasn't on the wall for a very long time but still very disheartening
True, but then again office 2016 was supposed to be "the last office". Then 2019. Now we have office 21.

If enough people refuse 365, we may see an office 24, and it may have the python upgrade.
 

Fourstaff

Moderator
Staff member
Joined
Nov 29, 2009
Messages
10,049 (1.90/day)
Location
Home
System Name Orange! // ItchyHands
Processor 3570K // 10400F
Motherboard ASRock z77 Extreme4 // TUF Gaming B460M-Plus
Cooling Stock // Stock
Memory 2x4Gb 1600Mhz CL9 Corsair XMS3 // 2x8Gb 3200 Mhz XPG D41
Video Card(s) Sapphire Nitro+ RX 570 // Asus TUF RTX 2070
Storage Samsung 840 250Gb // SX8200 480GB
Display(s) LG 22EA53VQ // Philips 275M QHD
Case NZXT Phantom 410 Black/Orange // Tecware Forge M
Power Supply Corsair CXM500w // CM MWE 600w
Yes please, cant wait to make a Frankenmonster of an Excel model with Python and VBA bits to confuse the hell out of any business analytics worker.
 
Joined
Feb 23, 2019
Messages
5,700 (2.96/day)
Location
Poland
Processor Ryzen 7 5800X3D
Motherboard Gigabyte X570 Aorus Elite
Cooling Thermalright Phantom Spirit 120 SE
Memory 2x16 GB Crucial Ballistix 3600 CL16 Rev E @ 3800 CL16
Video Card(s) RTX3080 Ti FE
Storage SX8200 Pro 1 TB, Plextor M6Pro 256 GB, WD Blue 2TB
Display(s) LG 34GN850P-B
Case SilverStone Primera PM01 RGB
Audio Device(s) SoundBlaster G6 | Fidelio X2 | Sennheiser 6XX
Power Supply SeaSonic Focus Plus Gold 750W
Mouse Endgame Gear XM1R
Keyboard Wooting Two HE
Cloud excel, where you can't even edit and save a CSV.
 
Joined
Jun 18, 2021
Messages
2,330 (2.16/day)
If enough people refuse 365, we may see an office 24, and it may have the python upgrade.

The problem is most people simply don't buy office anymore because all the basic features are available on the free online version. The main customer are businesses and they don't care as long as the numbers make sense, given how everyone is beholden to outlook and ms teams anyway this is just another item on the subscription.

I wouldn't be surprised if the only thing keeping offline office alive were legacy applications that depend on a local excel install - which "fortunately" will be true for a long time
 
Joined
Jan 10, 2011
Messages
1,345 (0.27/day)
Location
[Formerly] Khartoum, Sudan.
System Name 192.168.1.1~192.168.1.100
Processor AMD Ryzen5 5600G.
Motherboard Gigabyte B550m DS3H.
Cooling AMD Wraith Stealth.
Memory 16GB Crucial DDR4.
Video Card(s) Gigabyte GTX 1080 OC (Underclocked, underpowered).
Storage Samsung 980 NVME 500GB && Assortment of SSDs.
Display(s) LG 24MK430 primary && Samsung S24D590 secondary
Case Corsair Graphite 780T.
Audio Device(s) On-Board.
Power Supply SeaSonic CORE GM-650.
Mouse Coolermaster MM530.
Keyboard Kingston HyperX Alloy FPS.
VR HMD A pair of OP spectacles.
Software Ubuntu 22.04 LTS.
Benchmark Scores Me no know English. What bench mean? Bench like one sit on?
Welcome to 2013, Microsoft!
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
18,969 (2.84/day)
Location
Piteå
System Name Black MC in Tokyo
Processor Ryzen 5 5600
Motherboard Asrock B450M-HDV
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Kingston Fury 3400mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston A400 240GB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Line6 UX1 + some headphones, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Cherry MX Board 1.0 TKL Brown
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
If enough people refuse 365, we may see an office 24, and it may have the python upgrade.

Maybe an Office 2024, but even so the python stuff will run on their infrastructure. I cannot forsee a future in which MS scales back on the cloud/subscription stuff.
 
D

Deleted member 185088

Guest
Maybe they can add proper copy paste system when they are at it.
 
Joined
Jan 3, 2021
Messages
2,823 (2.26/day)
Location
Slovenia
Processor i5-6600K
Motherboard Asus Z170A
Cooling some cheap Cooler Master Hyper 103 or similar
Memory 16GB DDR4-2400
Video Card(s) IGP
Storage Samsung 850 EVO 250GB
Display(s) 2x Oldell 24" 1920x1200
Case Bitfenix Nova white windowless non-mesh
Audio Device(s) E-mu 1212m PCI
Power Supply Seasonic G-360
Mouse Logitech Marble trackball, never had a mouse
Keyboard Key Tronic KT2000, no Win key because 1994
Software Oldwin
MS, please release Excel 2024 classic. An up to date Excel with all new features and bugs squashed with CLASSIC INTERFACE not ribbon! Same for Word.
Of all things, you mention the ribbon ... Yeah, the ribbon really was horrible in its first incarnation in 2007, and gave Office a lasting bad reputation. But the ribbon grew really good and useful, also nicely customisable, in Office 2010 (along with the Quick Access Toolbar).
 
Joined
May 24, 2023
Messages
672 (1.78/day)
Location
127.0.0.1, ::1
System Name Naboo (2019)
Processor AMD 3800x
Motherboard Gigabyte Aorus Master V1 (X470)
Cooling individual EKWB/Heatkiller loop
Memory 4*8 GB 3600 Corsair Vengeance
Video Card(s) Sapphire Pulse 5700XT
Storage SSD 1TB PCIe 4.0x4, 2 TB PCIe 3.0
Display(s) 2*WQHD
Case Lian Li O11 Rog
Audio Device(s) Hifiman, Topping DAC/KHV
Power Supply Seasonic 850W Gold
Mouse Logitech MX2, Logitech MX Ergo Trackball
Keyboard Cherry Stream Wireless, Logitech MX Keys
Software Linux Mint "Vera" Cinnamon
Happily i'm migrating to LibreOffice. I only need to recode my 10.000 Lines of macros.
 
Joined
Aug 30, 2006
Messages
7,199 (1.11/day)
System Name ICE-QUAD // ICE-CRUNCH
Processor Q6600 // 2x Xeon 5472
Memory 2GB DDR // 8GB FB-DIMM
Video Card(s) HD3850-AGP // FireGL 3400
Display(s) 2 x Samsung 204Ts = 3200x1200
Audio Device(s) Audigy 2
Software Windows Server 2003 R2 as a Workstation now migrated to W10 with regrets.
Yeah, the ribbon really was horrible in its first incarnation in 2007, and gave Office a lasting bad reputation. But the ribbon grew really good and useful, also nicely customisable, in Office 2010 (along with the Quick Access Toolbar).
Ribbon is still ribbon. If you want to wear it, fine. Each to their own. My own: give me classic. Just like all my other apps. And just like my old Office, which I installed on my laptop, because I detest searching ribbons when structured drop down menus are better for me
 
Joined
Dec 28, 2012
Messages
3,546 (0.85/day)
System Name Skunkworks
Processor 5800x3d
Motherboard x570 unify
Cooling Noctua NH-U12A
Memory 32GB 3600 mhz
Video Card(s) asrock 6800xt challenger D
Storage Sabarent rocket 4.0 2TB, MX 500 2TB
Display(s) Asus 1440p144 27"
Case Old arse cooler master 932
Power Supply Corsair 1200w platinum
Mouse *squeak*
Keyboard Some old office thing
Software openSUSE tumbleweed/Mint 21.2
Of all things, you mention the ribbon ... Yeah, the ribbon really was horrible in its first incarnation in 2007, and gave Office a lasting bad reputation. But the ribbon grew really good and useful, also nicely customisable, in Office 2010 (along with the Quick Access Toolbar).
2010 ribbon was WAY better and my favorite version.
The problem is most people simply don't buy office anymore because all the basic features are available on the free online version. The main customer are businesses and they don't care as long as the numbers make sense, given how everyone is beholden to outlook and ms teams anyway this is just another item on the subscription.

I wouldn't be surprised if the only thing keeping offline office alive were legacy applications that depend on a local excel install - which "fortunately" will be true for a long time
IME most personal users dont even use office anymore, they use google docs or OLD versions of office. When I set machines up for people, quoting them the $350 for an office install usually convinces them to look at free options.
Maybe an Office 2024, but even so the python stuff will run on their infrastructure. I cannot forsee a future in which MS scales back on the cloud/subscription stuff.
They wont scale back, but they made office 21 feature comparable with 365, so theres a chance.
 
Joined
Jun 15, 2021
Messages
59 (0.05/day)
True, but then again office 2016 was supposed to be "the last office". Then 2019. Now we have office 21.

If enough people refuse 365, we may see an office 24, and it may have the python upgrade.
well

365 is still kind of a... "you have it, you got it all" since no updates will miss you if you are active subscriber to it
 
Joined
Dec 28, 2012
Messages
3,546 (0.85/day)
System Name Skunkworks
Processor 5800x3d
Motherboard x570 unify
Cooling Noctua NH-U12A
Memory 32GB 3600 mhz
Video Card(s) asrock 6800xt challenger D
Storage Sabarent rocket 4.0 2TB, MX 500 2TB
Display(s) Asus 1440p144 27"
Case Old arse cooler master 932
Power Supply Corsair 1200w platinum
Mouse *squeak*
Keyboard Some old office thing
Software openSUSE tumbleweed/Mint 21.2
well

365 is still kind of a... "you have it, you got it all" since no updates will miss you if you are active subscriber to it
And you are stuck paying even more, in perpituity, for the same product.

Yeah no. I didnt get a $1 trillion raise like Microsoft did. I'm good on giving them more of my money.
 

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,207 (1.48/day)
Location
Charleston, SC
System Name Tower of Power / Sechs
Processor i7 14700K / i7 5820k @ 4.5ghz
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / X99S GAMING 7
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / CORSAIR Hydro Series H100i Extreme
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / G.Skill DDR4 2800 16GB 4x4GB
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / ASUS TUF Gaming GeForce RTX 3070 V2 OC Edition
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / Samsung 870 PRO 500GB M.2
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, ViewSonic 32" 72hz 1440p / 2x ViewSonic 32" 72hz 1440p
Case Phantek "400A" / Phanteks “Enthoo Pro series”
Audio Device(s) Realtek ALC4080 / Azalia Realtek ALC1150
Power Supply Corsair RM Series RM750 / Corsair CXM CX600M
Mouse Glorious Gaming Model D Wireless / Razer DeathAdder Chroma
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (128gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 10 Pro x64
Benchmark Scores Yes
VBA is a cancer (that I still have to use a lot), but putting Python only in the cloud version is kinda lame
It's sad.. I still use VBA daily. On a side note I'm still converting vb.net projects over to C#...

EDIT: When I say vb.net I mean Visual Basic programs. I still use VBA in Excel every week. Writing formulas. This edit is for everyone else I know you no the difference W1zzard. ;) Everyone else might know as well. LOL Lately I have had to over explain myself daily. lol


It is worth noting that this is a cloud feature.
Sometimes you just got to get your foot in the door. This could lead to more down the road.
 
Joined
Jun 15, 2021
Messages
59 (0.05/day)
And you are stuck paying even more, in perpituity, for the same product.

Yeah no. I didnt get a $1 trillion raise like Microsoft did. I'm good on giving them more of my money.
Well i am nto using it for private reasons

but my company do buys licence in bulk - because we are basing our whole AD on Exchnage etc... so ofc we got no different option for now
 
Top