Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Extending Excel with Python and R
  • Table Of Contents Toc
  • Feedback & Rating feedback
Extending Excel with Python and R

Extending Excel with Python and R

By : Steven Sanderson, Kun
5 (5)
close
close
Extending Excel with Python and R

Extending Excel with Python and R

5 (5)
By: Steven Sanderson, Kun

Overview of this book

– Extending Excel with Python and R is a game changer resource written by experts Steven Sanderson, the author of the healthyverse suite of R packages, and David Kun, co-founder of Functional Analytics. – This comprehensive guide transforms the way you work with spreadsheet-based data by integrating Python and R with Excel to automate tasks, execute statistical analysis, and create powerful visualizations. – Working through the chapters, you’ll find out how to perform exploratory data analysis, time series analysis, and even integrate APIs for maximum efficiency. – Both beginners and experts will get everything you need to unlock Excel's full potential and take your data analysis skills to the next level. – By the end of this book, you’ll be able to import data from Excel, manipulate it in R or Python, and perform the data analysis tasks in your preferred framework while pushing the results back to Excel for sharing with others as needed.
Table of Contents (20 chapters)
close
close
1
Part 1:The Basics – Reading and Writing Excel Files from R and Python
6
Part 2: Making It Pretty – Formatting, Graphs, and More
10
Part 3: EDA, Statistical Analysis, and Time Series Analysis
14
Part 4: The Other Way Around – Calling R and Python from Excel
16
Part 5: Data Analysis and Visualization with R and Python for Excel Data – A Case Study

Setting up an environment

Since setting up an environment for BERT and xlwings is non-trivial, we will walk you through the process in detail in the coming subsections.

Steps to set up BERT for R

In this section, we will cover the installation of BERT for Windows so that we can utilize BERT to manipulate Excel from inside of R. The first thing that we will have to do is download the BERT installer, which can be obtained from here: https://bert-toolkit.com/download-bert.

Once this is downloaded, you can then install it as you would any other program. Once installed, you can then use the Add-ins ribbon from Excel to open the BERT Console, as shown here:

Figure 11.1 – BERT Console from the Add-ins ribbon in Excel

Figure 11.1 – BERT Console from the Add-ins ribbon in Excel

Once you see it, click the button, and the console will open, as shown here:

Figure 11.2 – The BERT Console

Figure 11.2 – The BERT Console

Now, let’s move to Python.

Steps to set up xlwings for Python

In this subsection...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY