Python for Excel

¡ "O'Reilly Media, Inc."
ā§Ē.ā§§
ā§­āϟāĻŋ āϰāĻŋāĻ­āĻŋāω
āχ-āĻŦ⧁āĻ•
338
āĻĒ⧃āĻˇā§āĻ āĻž
āωāĻĒāϝ⧁āĻ•ā§āϤ
āϰ⧇āϟāĻŋāĻ‚ āĻ“ āϰāĻŋāĻ­āĻŋāω āϝāĻžāϚāĻžāχ āĻ•āϰāĻž āĻšā§ŸāύāĻŋ  āφāϰāĻ“ āϜāĻžāύ⧁āύ

āĻāχ āχ-āĻŦ⧁āϕ⧇āϰ āĻŦāĻŋāĻˇā§Ÿā§‡

While Excel remains ubiquitous in the business world, recent Microsoft feedback forums are full of requests to include Python as an Excel scripting language. In fact, it's the top feature requested. What makes this combination so compelling? In this hands-on guide, Felix Zumstein--creator of xlwings, a popular open source package for automating Excel with Python--shows experienced Excel users how to integrate these two worlds efficiently.

Excel has added quite a few new capabilities over the past couple of years, but its automation language, VBA, stopped evolving a long time ago. Many Excel power users have already adopted Python for daily automation tasks. This guide gets you started.

  • Use Python without extensive programming knowledge
  • Get started with modern tools, including Jupyter notebooks and Visual Studio code
  • Use pandas to acquire, clean, and analyze data and replace typical Excel calculations
  • Automate tedious tasks like consolidation of Excel workbooks and production of Excel reports
  • Use xlwings to build interactive Excel tools that use Python as a calculation engine
  • Connect Excel to databases and CSV files and fetch data from the internet using Python code
  • Use Python as a single tool to replace VBA, Power Query, and Power Pivot

āϰ⧇āϟāĻŋāĻ‚ āĻ“ āĻĒāĻ°ā§āϝāĻžāϞ⧋āϚāύāĻžāϗ⧁āϞāĻŋ

ā§Ē.ā§§
ā§­āϟāĻŋ āϰāĻŋāĻ­āĻŋāω

āϞ⧇āĻ–āĻ• āϏāĻŽā§āĻĒāĻ°ā§āϕ⧇

Felix Zumstein is creator and maintainer of xlwings, a popular open-source package that allows the automation of Excel with Python on Windows and macOS. He also organizes the xlwings meetups in London and NYC to promote a broad range of innovative solutions for Excel.As CEO of xltrail, a version control system for Excel files, he has talked to hundreds of users who use Excel for business critical tasks and has therefore gained deep insight into the typical uses cases and issues with Excel across various industries.

āχ-āĻŦ⧁āϕ⧇ āϰ⧇āϟāĻŋāĻ‚ āĻĻāĻŋāύ

āφāĻĒāύāĻžāϰ āĻŽāϤāĻžāĻŽāϤ āϜāĻžāύāĻžāύāĨ¤

āĻĒāĻ āύ āϤāĻĨā§āϝ

āĻ¸ā§āĻŽāĻžāĻ°ā§āϟāĻĢā§‹āύ āĻāĻŦāĻ‚ āĻŸā§āϝāĻžāĻŦāϞ⧇āϟ
Android āĻāĻŦāĻ‚ iPad/iPhone āĻāϰ āϜāĻ¨ā§āϝ Google Play āĻŦāχ āĻ…ā§āϝāĻžāĻĒ āχāύāĻ¸ā§āϟāϞ āĻ•āϰ⧁āύāĨ¤ āĻāϟāĻŋ āφāĻĒāύāĻžāϰ āĻ…ā§āϝāĻžāĻ•āĻžāωāĻ¨ā§āĻŸā§‡āϰ āϏāĻžāĻĨ⧇ āĻ…āĻŸā§‹āĻŽā§‡āϟāĻŋāĻ• āϏāĻŋāĻ™ā§āĻ• āĻšā§Ÿ āĻ“ āφāĻĒāύāĻŋ āĻ…āύāϞāĻžāχāύ āĻŦāĻž āĻ…āĻĢāϞāĻžāχāύ āϝāĻžāχ āĻĨāĻžāϕ⧁āύ āύāĻž āϕ⧇āύ āφāĻĒāύāĻžāϕ⧇ āĻĒ⧜āϤ⧇ āĻĻā§‡ā§ŸāĨ¤
āĻ˛ā§āϝāĻžāĻĒāϟāĻĒ āĻ“ āĻ•āĻŽā§āĻĒāĻŋāωāϟāĻžāϰ
Google Play āĻĨ⧇āϕ⧇ āϕ⧇āύāĻž āĻ…āĻĄāĻŋāĻ“āĻŦ⧁āĻ• āφāĻĒāύāĻŋ āĻ•āĻŽā§āĻĒāĻŋāωāϟāĻžāϰ⧇āϰ āĻ“ā§Ÿā§‡āĻŦ āĻŦā§āϰāĻžāωāϜāĻžāϰ⧇ āĻļ⧁āύāϤ⧇ āĻĒāĻžāϰ⧇āύāĨ¤
eReader āĻāĻŦāĻ‚ āĻ…āĻ¨ā§āϝāĻžāĻ¨ā§āϝ āĻĄāĻŋāĻ­āĻžāχāϏ
Kobo eReaders-āĻāϰ āĻŽāϤ⧋ e-ink āĻĄāĻŋāĻ­āĻžāχāϏ⧇ āĻĒāĻĄāĻŧāϤ⧇, āφāĻĒāύāĻžāϕ⧇ āĻāĻ•āϟāĻŋ āĻĢāĻžāχāϞ āĻĄāĻžāωāύāϞ⧋āĻĄ āĻ“ āφāĻĒāύāĻžāϰ āĻĄāĻŋāĻ­āĻžāχāϏ⧇ āĻŸā§āϰāĻžāĻ¨ā§āϏāĻĢāĻžāϰ āĻ•āϰāϤ⧇ āĻšāĻŦ⧇āĨ¤ āĻŦā§āϝāĻŦāĻšāĻžāϰāĻ•āĻžāϰ⧀āϰ āωāĻĻā§āĻĻ⧇āĻļā§āϝ⧇ āϤ⧈āϰāĻŋ āϏāĻšāĻžā§ŸāϤāĻž āϕ⧇āĻ¨ā§āĻĻā§āϰāϤ⧇ āĻĻ⧇āĻ“ā§ŸāĻž āύāĻŋāĻ°ā§āĻĻ⧇āĻļāĻžāĻŦāϞ⧀ āĻ…āύ⧁āϏāϰāĻŖ āĻ•āϰ⧇ āϝ⧇āϏāĻŦ eReader-āĻ āĻĢāĻžāχāϞ āĻĒāĻĄāĻŧāĻž āϝāĻžāĻŦ⧇ āϏ⧇āĻ–āĻžāύ⧇ āĻŸā§āϰāĻžāĻ¨ā§āϏāĻĢāĻžāϰ āĻ•āϰ⧁āύāĨ¤