دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
دسته بندی: برنامه نویسی: زبان های برنامه نویسی ویرایش: 1 نویسندگان: Steven Sanderson | David Kun سری: ISBN (شابک) : 9781804610695 ناشر: Packt Publishing Pvt Ltd سال نشر: 2024 تعداد صفحات: 0 زبان: English فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) حجم فایل: 9 مگابایت
در صورت تبدیل فایل کتاب Extending Excel with Python and R: Unlock the potential of analytics languages for advanced data manipulation and visualization به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب گسترش اکسل با پایتون و R: باز کردن پتانسیل زبان های تحلیلی برای دستکاری و تجسم پیشرفته داده ها نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
برای به حداکثر رساندن بهرهوری، زبانهای برنامهنویسی Python و R را با تجزیه و تحلیل دادههای مبتنی بر صفحهگسترده یکپارچه کنید\r\nویژگیهای کلیدی\r\n\r\nانجام تجزیه و تحلیل دادهها و تکنیکهای تجسم پیشرفته با R و Python در دادههای اکسل\r\nاز تجزیه و تحلیل دادههای اکتشافی استفاده کنید. و تجزیه و تحلیل جدول محوری برای بینش عمیق تر در مورد داده های خود\r\nکدهای R و Python را مستقیماً با استفاده از نقاط پایانی VBA یا API در اکسل ادغام کنید\r\nخرید کتاب چاپی یا Kindle شامل یک کتاب الکترونیکی PDF رایگان است\r\n\r\nتوضیحات کتاب \r\n\r\nبرای کسب و کارها، تجزیه و تحلیل داده ها و تجسم برای تصمیم گیری آگاهانه بسیار مهم است. با این حال، محدودیت های اکسل می تواند این کارها را زمان بر و چالش برانگیز کند. گسترش اکسل با پایتون و R یک منبع تغییر دهنده بازی است که توسط کارشناسان استیون ساندرسون، نویسنده مجموعه بستههای R سلامت و دیوید کان، یکی از بنیانگذاران Functional Analytics، شرکتی که در پشت راهحل مهندسی پلتفرم خود R برای R، Python نوشته شده است. و سایر زبانهای علم داده.\r\n\r\nاین راهنمای جامع روش کار شما با دادههای صفحهگسترده را با ادغام Python و R با Excel برای خودکارسازی وظایف، اجرای تجزیه و تحلیل آماری و ایجاد تجسمهای قدرتمند تغییر میدهد. با کار کردن در فصلها، نحوه انجام تجزیه و تحلیل دادههای اکتشافی، تجزیه و تحلیل سریهای زمانی و حتی ادغام APIها برای حداکثر کارایی را خواهید یافت. چه مبتدی باشید و چه متخصص، این کتاب همه چیزهایی را دارد که برای باز کردن پتانسیل کامل اکسل و ارتقای مهارت های تجزیه و تحلیل داده های خود به سطح بعدی نیاز دارید.\r\n\r\nدر پایان این کتاب، میتوانید دادهها را از اکسل وارد کنید، آنها را در R یا Python دستکاری کنید، و وظایف تجزیه و تحلیل دادهها را در چارچوب دلخواه خود انجام دهید، در حالی که نتایج را به اکسل برگردانید تا در صورت لزوم با دیگران به اشتراک بگذارید.\r\nآنچه را یاد خواهید گرفت. \r\n\r\nخواندن و نوشتن فایلهای اکسل با کتابخانههای R و Python\r\nبهطور خودکار وظایف اکسل با اسکریپتهای R و Python\r\nاز R و Python برای اجرای ماکروهای Excel VBA\r\nبرگهای اکسل با استفاده از R و Python قالببندی کنید. بسته ها\r\nایجاد نمودار با ggplot2 و Matplotlib در Excel\r\nتجزیه و تحلیل داده های اکسل با روش های آماری و تجزیه و تحلیل سری های زمانی\r\nکاوش روش های مختلف برای فراخوانی توابع R و Python از Excel\r\n\r\nاین کتاب کیست برای\r\n\r\nاگر شما یک تحلیلگر داده یا دانشمند داده هستید، یا یک کمیت، آکچوئر یا متخصص داده هستید که به دنبال افزایش مهارت های Excel خود و گسترش قابلیت های تجزیه و تحلیل داده های خود با R و Python هستید، این کتاب برای شما. این یک مقدمه جامع برای موضوعات تحت پوشش ارائه می کند و آن را برای زبان آموزان مبتدی و متوسط مناسب می کند. درک اولیه اکسل، پایتون و R تنها چیزی است که برای شروع نیاز دارید.
Seamlessly integrate the Python and R programming languages with spreadsheet-based data analysis to maximize productivity\r\nKey Features\r\n\r\nPerform advanced data analysis and visualization techniques with R and Python on Excel data\r\nUse exploratory data analysis and pivot table analysis for deeper insights into your data\r\nIntegrate R and Python code directly into Excel using VBA or API endpoints\r\nPurchase of the print or Kindle book includes a free PDF eBook\r\n\r\nBook Description\r\n\r\nFor businesses, data analysis and visualization are crucial for informed decision-making; however, Excel\'s limitations can make these tasks time-consuming and challenging. 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, the company behind the ownR platform engineering solution for R, Python, and other data science languages.\r\n\r\nThis 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. Whether you\'re a beginner or an expert, this book has everything you need to unlock Excel\'s full potential and take your data analysis skills to the next level.\r\n\r\nBy 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.\r\nWhat you will learn\r\n\r\nRead and write Excel files with R and Python libraries\r\nAutomate Excel tasks with R and Python scripts\r\nUse R and Python to execute Excel VBA macros\r\nFormat Excel sheets using R and Python packages\r\nCreate graphs with ggplot2 and Matplotlib in Excel\r\nAnalyze Excel data with statistical methods and time series analysis\r\nExplore various methods to call R and Python functions from Excel\r\n\r\nWho this book is for\r\n\r\nIf you\'re a data analyst or data scientist, or a quants, actuaries, or data practitioner looking to enhance your Excel skills and expand your data analysis capabilities with R and Python, this book is for you. It provides a comprehensive introduction to the topics covered, making it suitable for both beginners and intermediate learners. A basic understanding of Excel, Python, and R is all you need to get started.
Extending Excel with Python and R
Contributors
About the authors
About the reviewers
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Conventions used
Get in touch
Share Your Thoughts
Download a free PDF copy of this book
Part 1:The Basics – Reading and Writing Excel Files from R and Python
1
Reading Excel Spreadsheets
Technical requirements
Working with R packages for Excel manipulation
Reading Excel files to R
Installing and loading libraries
Reading multiple sheets with readxl and a custom function
Python packages for Excel manipulation
Python packages for Excel manipulation
Considerations
Opening an Excel sheet from Python and reading the data
Using pandas
Using openpyxl
Reading in multiple sheets with Python (openpyxl and custom functions)
The importance of reading multiple sheets
Using openpyxl to access sheets
Reading data from each sheet
Retrieving sheet data with openpyxl
Combining data from multiple sheets
Custom function for reading multiple sheets
Customizing the code
Summary
2
Writing Excel Spreadsheets
Technical requirements
Packages to write into Excel files
writexl
openxlsx
xlsx
A comprehensive recap and insights
Creating and manipulating Excel sheets using Python
Why export data to Excel?
Keeping it simple – exporting data to Excel with pandas
Advanced mode – openpyxl for Excel manipulation
Creating a new workbook
Adding sheets to the workbook
Deleting a sheet
Manipulating an existing workbook
Choosing between openpyxl and pandas
Other alternatives
Summary
3
Executing VBA Code from R and Python
Technical requirements
Installing and explaining the RDCOMClient R library
Installing RDCOMClient
Executing sample VBA with RDCOMClient
Integrating VBA with Python using pywin32
Why execute VBA code from Python?
Setting up the environment
Error handling with the environment setup
Writing and executing VBA code
Automating Excel tasks
Pros and cons of executing VBA from Python
Summary
4
Automating Further – Task Scheduling and Email
Technical requirements
Installing and understanding the tasksheduleR library
Creating sample scripts
RDCOMClient for Outlook
Using the Microsoft365R and blastula packages
Microsoft365R
The blastula package
Scheduling Python scripts
Introduction to Python script scheduling
Built-in scheduling options
Third-party scheduling libraries
Best practices and considerations for robust automation
Email notifications and automation with Python
Introduction to email notifications in Python
Setting up email services
Sending basic emails
Sending email notifications for script status
Summary
Part 2: Making It Pretty – Formatting, Graphs, and More
5
Formatting Your Excel Sheet
Technical requirements
Installing and using styledTables in R
Installing and using basictabler in R
Advanced options for formatting with Python
Cell formatting
Conditional formatting
Pivot tables
Summary
6
Inserting ggplot2/matplotlib Graphs
Technical requirements
Some basics
Visualizing data with ggplot2
Visualizing data with the cowplot package
Bar charts and dumbbell plots
Enhancing your Excel reports with plotnine2, matplotlib, and plotly graphs
Enhancing Excel reports with visualizations
An introduction to data visualization libraries
Plotnine – elegant grammar of graphics
Plotly – interactive visualizations
Matplotlib – classic and customizable plots
Creating graphs with plotnine (Python’s ggplot2)
Understanding the grammar of graphics
Generating various plot types
Customizing the visual elements of a plotnine plot
Incorporating additional layers
Generating graphs with matplotlib
Customizing visual elements of a matplotlib plot
Other visualization libraries
plotly
seaborn
Embedding visualizations into Excel
A basic embedding process
Summary
7
Pivot Tables and Summary Tables
Technical requirements
Making a table with the Base R xtabs function
Making a table with the gt package
Creating pivot tables with tidyquant
Creating and managing pivot tables in Python with win32com and pypiwin32
Creating pivot tables with Python: the basics
Setting up the Python environment
Creating pivot tables
Manipulating pivot tables
Groupings in pivot tables
Summary
Part 3: EDA, Statistical Analysis, and Time Series Analysis
8
Exploratory Data Analysis with R and Python
Technical requirements
Understanding data with skimr
Using the GGally package in R
Using the DataExplorer package
Getting started with EDA for Python
Data cleaning in Python for Excel data
Handling missing data
Dealing with duplicates
Handling data type conversion
Excel-specific data issues
Performing EDA in Python
Summary statistics
Data distribution
Associations between variables
Scatter plots
Visualizing key attributes
Summary
9
Statistical Analysis: Linear and Logistic Regression
Technical requirements
Linear regression
Logistic regression
Frameworks
Performing linear regression in R
Linear regression in base R
Linear regression with tidymodels and purrr
Performing logistic regression in R
Logistic regression with base R
Performing logistic regression using tidymodels
Performing linear regression in Python using Excel data
Logistic regression in Python using Excel data
Summary
10
Time Series Analysis: Statistics, Plots, and Forecasting
Technical requirements
Generating random time series objects in R
Manipulating the time series parameters
Time series plotting
Creating ACF and PACF plots in R
Auto ARIMA modeling with healthyR.ts
Creating a Brownian motion with healthyR.ts
Time series analysis in Python – statistics, plots, and forecasting
Time series plotting – basic plots and ACF/PACF plots
Autocorrelation function (ACF) plot
Partial autocorrelation function (PACF) plot
Time series statistics and statistical forecasting
Statistical analysis for time series data
Understanding predictive modeling approaches
Forecasting with statsmodels
Time series forecasting with Facebook’s prophet
Time series forecasting with deep learning – LSTM
Summary
Part 4: The Other Way Around – Calling R and Python from Excel
11
Calling R/Python Locally from Excel Directly or via an API
Technical requirements
Calling R and Python from Excel locally
Why you would want to call R/Python from Excel locally
Setting up an environment
Steps to set up BERT for R
Steps to set up xlwings for Python
Calling R/Python directly from Excel
Executing R with VBA and BERT
Interacting with Excel via BERT
Calling Python from Excel using xlwings
The Run button
Macros
UDFs
Calling R and Python from Excel via an API
An introduction to APIs
Open source solutions for exposing R as API endpoints
Open-source solutions for exposing Python as an API endpoint
Calling APIs from Excel VBA
Commercial API solutions for R and Python
Summary
Part 5: Data Analysis and Visualization with R and Python for Excel Data – A Case Study
12
Data Analysis and Visualization with R and Python in Excel – A Case Study
Technical requirements
Getting visualizations with R
Getting the data
Visualizing the data
Performing a simple ML model with R
Data preprocessing
Getting visualizations with Python
Getting the data
Visualizing the data
Performing a simple ML model with Python
Data preprocessing
Index
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Share Your Thoughts
Download a free PDF copy of this book