Python for Excel: A Modern Environment for Automation and Data Analysis Front Cover

Python for Excel: A Modern Environment for Automation and Data Analysis

  • Length: 315 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2021-08-17
  • ISBN-10: 1492081000
  • ISBN-13: 9781492081005
  • Sales Rank: #2189760 (See Top 100 Books)
Description

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 that allows the automation of 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 their 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

Table of Contents

I. Introduction to Python
1. Why Python for Excel?
2. Development Environment
3. Getting Started with Python

II. Introduction to pandas
4. NumPy Foundations
5. Data Analysis with pandas
6. Time Series Analysis with pandas

III. Reading and Writing Excel Files Without Excel
7. Excel File Manipulation with pandas
8. Excel File Manipulation with Reader and Writer Packages

IV. Programming the Excel Application with xlwings
9. Excel Automation
10. Python-Powered Excel Tools
11. The Python Package Tracker
12. User-Defined Functions (UDFs)

A. Conda Environments
B. Advanced VS Code Functionality
C. Advanced Python Concepts

To access the Link, solve the captcha.