Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
100% found this document useful (6 votes)
28 views

(Ebook) Practical Data Science with Jupyter: Explore Data Cleaning, Pre-processing, Data Wrangling, Feature Engineering and Machine Learning using Python and Jupyter (English Edition) by Prateek Gupta ISBN 9789389898064, 9389898064 - The ebook in PDF format is available for download

The document provides information about various eBooks available for instant download on ebooknice.com, focusing on topics related to data science and Python programming. It highlights specific titles, authors, and ISBNs, along with links for purchasing or downloading the eBooks. Additionally, it includes details about the author of 'Practical Data Science with Jupyter,' Prateek Gupta, and outlines the book's content and structure aimed at aspiring data scientists.

Uploaded by

dregernsafoa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (6 votes)
28 views

(Ebook) Practical Data Science with Jupyter: Explore Data Cleaning, Pre-processing, Data Wrangling, Feature Engineering and Machine Learning using Python and Jupyter (English Edition) by Prateek Gupta ISBN 9789389898064, 9389898064 - The ebook in PDF format is available for download

The document provides information about various eBooks available for instant download on ebooknice.com, focusing on topics related to data science and Python programming. It highlights specific titles, authors, and ISBNs, along with links for purchasing or downloading the eBooks. Additionally, it includes details about the author of 'Practical Data Science with Jupyter,' Prateek Gupta, and outlines the book's content and structure aimed at aspiring data scientists.

Uploaded by

dregernsafoa
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 77

Instant Ebook Access, One Click Away – Begin at ebooknice.

com

(Ebook) Practical Data Science with Jupyter:


Explore Data Cleaning, Pre-processing, Data
Wrangling, Feature Engineering and Machine
Learning using Python and Jupyter (English
Edition) by Prateek Gupta ISBN 9789389898064,
9389898064
https://ebooknice.com/product/practical-data-science-with-
jupyter-explore-data-cleaning-pre-processing-data-wrangling-
feature-engineering-and-machine-learning-using-python-and-
jupyter-english-edition-34713112

OR CLICK BUTTON

DOWLOAD EBOOK

Get Instant Ebook Downloads – Browse at https://ebooknice.com


Instant digital products (PDF, ePub, MOBI) ready for you
Download now and discover formats that fit your needs...

Start reading on any device today!

(Ebook) Python for Data Analysis: Data Wrangling with pandas, NumPy, and Jupyter by
McKinney, Wes ISBN 9781098104030, 109810403X

https://ebooknice.com/product/python-for-data-analysis-data-wrangling-with-
pandas-numpy-and-jupyter-55545066

ebooknice.com

(Ebook) Biota Grow 2C gather 2C cook by Loucas, Jason; Viles, James ISBN
9781459699816, 9781743365571, 9781925268492, 1459699815, 1743365578, 1925268497

https://ebooknice.com/product/biota-grow-2c-gather-2c-cook-6661374

ebooknice.com

(Ebook) Practical Python Data Wrangling and Data Quality: Getting Started with
Reading, Cleaning, and Analyzing Data by Susan E. McGregor ISBN 9781492091509,
1492091502

https://ebooknice.com/product/practical-python-data-wrangling-and-data-quality-
getting-started-with-reading-cleaning-and-analyzing-data-36558596

ebooknice.com

(Ebook) Python Data Analysis: Perform data collection, data processing, wrangling,
visualization, and model building using Python by Avinash Navlani, et al.

https://ebooknice.com/product/python-data-analysis-perform-data-collection-data-
processing-wrangling-visualization-and-model-building-using-python-56137214

ebooknice.com
(Ebook) SAT II Success MATH 1C and 2C 2002 (Peterson's SAT II Success) by Peterson's
ISBN 9780768906677, 0768906679

https://ebooknice.com/product/sat-ii-success-math-1c-and-2c-2002-peterson-s-sat-
ii-success-1722018

ebooknice.com

(Ebook) Matematik 5000+ Kurs 2c Lärobok by Lena Alfredsson, Hans Heikne, Sanna
Bodemyr ISBN 9789127456600, 9127456609

https://ebooknice.com/product/matematik-5000-kurs-2c-larobok-23848312

ebooknice.com

(Ebook) Learning Data Science: Data Wrangling, Exploration, Visualization, and


Modeling with Python by Sam Lau, Joseph Gonzalez, Deborah Nolan ISBN 9781098113001,
1098113004

https://ebooknice.com/product/learning-data-science-data-wrangling-exploration-
visualization-and-modeling-with-python-52600430

ebooknice.com

(Ebook) Machine Learning Concepts with Python and the Jupyter Notebook Environment:
Using Tensorflow 2.0 by Nikita Silaparasetty ISBN 9781484259665, 9781484259672,
1484259661, 148425967X

https://ebooknice.com/product/machine-learning-concepts-with-python-and-the-
jupyter-notebook-environment-using-tensorflow-2-0-22417452

ebooknice.com

(Ebook) Practical Data Science Cookbook: Data pre-processing, analysis and


visualization using R and Python by Prabhanjan Tattar, Tony Ojeda, Sean Patrick
Murphy, Benjamin Bengfort, Abhijit Dasgupta ISBN 9781787129627, 1787129624

https://ebooknice.com/product/practical-data-science-cookbook-data-pre-
processing-analysis-and-visualization-using-r-and-python-6755718

ebooknice.com
Practical
Data Science with
Jupyter

Explore Data Cleaning, Pre-processing,


Data Wrangling, Feature Engineering and
Machine Learning using Python and Jupyter

Prateek Gupta

www.bpbonline.com
FIRST EDITION 2019

SECOND EDITION 2021

Copyright © BPB Publications, India

ISBN: 978-93-89898-064

All Rights Reserved. No part of this publication may be


reproduced, distributed or transmitted in any form or by any
means or stored in a database or retrieval system, without the
prior written permission of the publisher with the exception to the
program listings which may be entered, stored and executed in a
computer system, but they can not be reproduced by the means
of publication, photocopy, recording, or by any electronic and
mechanical means.

LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY

The information contained in this book is true to correct and the


best of author’s and publisher’s knowledge. The author has made
every effort to ensure the accuracy of these publications, but
publisher cannot be held responsible for any loss or damage
arising from any information in this book.

All trademarks referred to in the book are acknowledged as


properties of their respective owners but BPB Publications cannot
guarantee the accuracy of this information.
Distributors:

BPB PUBLICATIONS

20, Ansari Road, Darya Ganj

New Delhi-110002

Ph: 23254990/23254991

MICRO MEDIA

Shop No. 5, Mahendra Chambers,

150 DN Rd. Next to Capital Cinema,

V.T. (C.S.T.) Station, MUMBAI-400 001

Ph: 22078296/22078297

DECCAN AGENCIES

4-3-329, Bank Street,

Hyderabad-500195
Ph: 24756967/24756400

BPB BOOK CENTRE

376 Old Lajpat Rai Market,

Delhi-110006

Ph: 23861747

Published by Manish Jain for BPB Publications, 20 Ansari Road,


Darya Ganj, New Delhi-110002 and Printed by him at Repro India
Ltd, Mumbai

www.bpbonline.com
Dedicated to

All Aspiring Data Scientists

Who have chosen to solve this world’s problem with data


About the Author

Prateek Gupta is a seasoned Data Science professional with nine


years of experience in finding patterns, applying advanced
statistical methods and algorithms to uncover hidden insights. His
data-driven solutions maximize revenue, profitability, and ensure
efficient operations management. He has worked with several
multinational IT giants like HCL, Zensar, and Sapient.

He is a self-starter and committed data enthusiast with expertise


in fishing, winery, and e-commerce domain. He has helped various
clients with his machine learning expertise in automatic product
categorization, sentiment analysis, customer segmentation, product
recommendation engine, and object detection and recognition
models. He is a firm believer in “Hard work triumphs talent when
talent doesn’t work hard”.

His keen area of interest is in the areas of cutting-edge research


papers on machine learning and applications of natural language
processing with computer vision techniques. In his leisure time,
he enjoys sharing knowledge through his blog and motivates
young minds to enter the exciting world of Data Science.

His Blog: http://dsbyprateekg.blogspot.com/

His LinkedIn Profile: www.linkedin.com/in/prateek-gupta-64203354


Acknowledgement

I would like to thank some of the brilliant knowledge sharing


minds - Jason Brownlee Ph.D., Adrian Rosebrock, Ph.D., and
Andrew Ng, from whom I have learned and am still learning
many concepts. I would also like to thank open data science
community, Kaggle and various data science bloggers for making
data science and machine learning knowledge available to
everyone.

I would also like to express my gratitude to almighty God, my


parents, my wife Pragya, and my brother Anubhav, for being
incredibly supportive throughout my life and for the writing of this
book.

Finally, I would like to thank the entire BPB publications team,


who made this book possible. Many thanks to Manish Jain, Nrip
Jain, and Varun Jain for giving me the opportunity to write my
second book.
Preface

Today, Data Science has become an indispensable part of every


organization, for which employers are willing to pay top dollars to
hire skilled professionals. Due to the rapidly changing needs of
industry, data continues to grow and evolve, thereby increasing the
demand for data scientists. However, the questions that
continuously haunt every company – are there enough highly-
skilled individuals who can analyze how much data will be
available, where it will come from, and what the advancement are
in analytical techniques to serve them more significant insights? If
you have picked up this book, you must have already come
across these topics through talks or blogs from several experts
and leaders in the industry.

To become an expert in any field, everyone must start from a


point to learn. This book is designed with keeping such
perspective in mind, to serve as your starting point in the field of
data science. When I started my career in this field, I had little
luck finding a compact guide that I could use to learn concepts
of data science, practice examples, and revise them when faced
with similar problems at hand. I soon realized Data Science is a
very vast domain, and having all the knowledge in a small version
of a book is highly impossible. Therefore, I decided I accumulate
my experience in the form of this book, where you’ll gain
essential knowledge and skill set required to become a data
scientist, without wasting your valuable time finding material
scattered across the internet.
I planned the chapters of this book in a chained form. In the first
chapter, you will be made familiar with the data and the new data
science skills set. The second chapter is all about setting up tools
for the trade with the help of which you can practice the
examples discussed in the book. In chapters three to six, you will
learn all types of data structures in Python, which you will use in
your day-to-day data science projects. In 7th chapter you will lean
how to interact with different databases with Python. The eighth-
chapter of this book will teach you the most used statistical
concepts in data analysis. By the ninth chapter, you will be all set
to start your journey of becoming a data scientist by learning how
to read, load, and understand different types of data in Jupyter
notebook for analysis. The tenth and eleventh chapters will guide
you through different data cleaning and visualizing techniques.

From the twelfth chapter onwards, you will have to combine


knowledge acquired from previous chapters to do data pre-
processing of real-world use-cases. In chapters thirteen and
fourteen, you will learn supervised and unsupervised machine
learning problems and how to solve them. Chapters fifteen and
sixteen will cover time series data and will teach you how to
handle them. After covering the key concepts, I have included four
different case studies, where you will apply all the knowledge
acquired and practice solving real-world problems. The last three
chapters of this book will make you industry-ready data scientists.
Using best practices while structuring your project and use of
GitHub repository along with your Data Science concepts will not
make you feel naive, while working with other software engineering
team.
The book you are holding is my humble effort to not only cover
fundamentals of Data Science using Python, but also save your
time by focusing on minimum theory + more practical examples.
These practical examples include real-world datasets and real
problems, which will make you confident in tackling similar or
related data problems. I hope you find this book valuable, and
that it enables you to extend your data science knowledge as a
practitioner in a short time.
Downloading the coloured images:

Please follow the link to download the


Coloured Images of the book:

https://rebrand.ly/75823

Errata

We take immense pride in our work at BPB Publications and


follow best practices to ensure the accuracy of our content to
provide with an indulging reading experience to our subscribers.
Our readers are our mirrors, and we use their inputs to reflect
and improve upon human errors, if any, that may have occurred
during the publishing processes involved. To let us maintain the
quality and help us reach out to any readers who might be
having difficulties due to any unforeseen errors, please write to us
at :

errata@bpbonline.com

Your support, suggestions and feedbacks are highly appreciated by


the BPB Publications’ Family.
Did you know that BPB offers eBook versions of every book
published, with PDF and ePub files available? You can upgrade to
the eBook version at www.bpbonline.com and as a print book
customer, you are entitled to a discount on the eBook copy. Get
in touch with us at business@bpbonline.com for more details.

At you can also read a collection of free technical articles, sign up


for a range of free newsletters, and receive exclusive discounts
and offers on BPB books and eBooks.
BPB is searching for authors like you

If you're interested in becoming an author for BPB, please visit


www.bpbonline.com and apply today. We have worked with
thousands of developers and tech professionals, just like you, to
help them share their insight with the global tech community. You
can make a general application, apply for a specific hot topic that
we are recruiting an author for, or submit your own idea.

The code bundle for the book is also hosted on GitHub at In


case there's an update to the code, it will be updated on the
existing GitHub repository.

We also have other code bundles from our rich catalog of books
and videos available at Check them out!

PIRACY

If you come across any illegal copies of our works in any form
on the internet, we would be grateful if you would provide us
with the location address or website name. Please contact us at
business@bpbonline.com with a link to the material.

If you are interested in becoming an author


If there is a topic that you have expertise in, and you are
interested in either writing or contributing to a book, please visit

REVIEWS

Please leave a review. Once you have read and used this book,
why not leave a review on the site that you purchased it from?
Potential readers can then see and use your unbiased opinion to
make purchase decisions, we at BPB can understand what you
think about our products, and our authors can see your feedback
on their book. Thank you!

For more information about BPB, please visit


Table of Contents

1. Data Science Fundamentals


Structure
Objective
What is data?
Structured data
Unstructured data
Semi-structured data
What is data science?
What does a data scientist do?
Real-world use cases of data science
Why Python for data science?
Conclusion

2. Installing Software and System Setup


Structure
Objective
System requirements
Downloading Anaconda
Installing the Anaconda on Windows
Installing the Anaconda in Linux
How to install a new Python library in Anaconda?
Open your notebook – Jupyter
Know your notebook
Conclusion

3. Lists and Dictionaries


Structure
Objective
What is a list?

How to create a list?


Different list manipulation operations
Difference between Lists and Tuples
What is a Dictionary?
How to create a dictionary?
Some operations with dictionary
Conclusion

4. Package, Function, and Loop


Structure
Objective
The help() function in Python
How to import a Python package?
How to create and call a function?
Passing parameter in a function
Default parameter in a function
How to use unknown parameters in a function?
A global and local variable in a function
What is a Lambda function?
Understanding main in Python
while and for loop in Python
Conclusion

5. NumPy Foundation
Structure
Objective
Importing a NumPy package
Why use NumPy array over list?
NumPy array attributes
Creating NumPy arrays

Accessing an element of a NumPy array


Slicing in NumPy array
Array concatenation
Conclusion

6. Pandas and DataFrame


Structure
Objective
Importing Pandas
Pandas data structures
Series
DataFrame
.loc[] and .iloc[]
Some Useful DataFrame Functions
Handling missing values in DataFrame
Conclusion

7. Interacting with Databases


Structure
Objective
What is SQLAlchemy?
Installing SQLAlchemy package
How to use SQLAlchemy?
SQLAlchemy engine configuration
Creating a table in a database
Inserting data in a table
Update a record
How to join two tables
Inner join
Left join

Right join
Conclusion

8. Thinking Statistically in Data Science


Structure
Objective
Statistics in data science
Types of statistical data/variables
Mean, median, and mode
Basics of probability
Statistical distributions
Poisson distribution
Binomial distribution
Normal distribution
Pearson correlation coefficient
Probability Density Function (PDF)
Real-world example
Statistical inference and hypothesis testing
Conclusion

9. How to Import Data in Python?


Structure
Objective
Importing text data
Importing CSV data
Importing Excel data
Importing JSON data
Importing pickled data
Importing a compressed data
Conclusion

10. Cleaning of Imported Data


Structure
Objective
Know your data
Analyzing missing values
Dropping missing values
Automatically fill missing values
How to scale and normalize data?
How to parse dates?
How to apply character encoding?
Cleaning inconsistent data
Conclusion

11. Data Visualization


Structure
Objective
Bar chart
Line chart
Histograms
Scatter plot
Stacked plot
Box plot
Conclusion

12. Data Pre-processing


Structure
Objective
About the case-study
Importing the dataset
Exploratory data analysis

Data cleaning and pre-processing


Feature Engineering
Conclusion

13. Supervised Machine Learning


Structure
Objective
Some common ML terms
Introduction to machine learning (ML)
Supervised learning
Unsupervised learning
Semi-supervised learning
Reinforcement learning
List of common ML algorithms
Supervised ML fundamentals
Logistic Regression
Decision Tree Classifier
K-Nearest Neighbor Classifier
Linear Discriminant Analysis (LDA)
Gaussian Naive Bayes Classifier
Support Vector Classifier
Solving a classification ML problem
About the dataset
Attribute information
Why train/test split and cross-validation?
Solving a regression ML problem
How to tune your ML model?
How to handle categorical variables in sklearn?
The advanced technique to handle missing data
Conclusion

14. Unsupervised Machine Learning


Structure
Objective
Why unsupervised learning?
Unsupervised learning techniques
Clustering
K-mean clustering
Hierarchical clustering
t-SNE
Principal Component Analysis (PCA)
Case study
Validation of unsupervised ML
Conclusion

15. Handling Time-Series Data


Structure
Objective
Why time-series is important?
How to handle date and time?
Transforming a time-series data
Manipulating a time-series data
Comparing time-series growth rates
How to change time-series frequency?
Conclusion

16. Time-Series Methods


Structure
Objective
What is time-series forecasting?
Basic steps in forecasting

Time-series forecasting techniques


Autoregression (AR)
Moving Average (MA)
Autoregressive Moving Average (ARMA)
Autoregressive Integrated Moving Average (ARIMA)
Seasonal Autoregressive Integrated Moving-Average (SARIMA)
Seasonal Autoregressive Integrated Moving-Average with Exogenous
Regressors (SARIMAX)
Vector Autoregression Moving-Average (VARMA)
Holt Winter’s Exponential Smoothing (HWES)
Forecast future traffic to a web page
Conclusion

17. Case Study-1


Predict whether or not an applicant will be able to repay a loan
Conclusion

18. Case Study-2


Build a prediction model that will accurately classify which text
messages are spam
Conclusion

19. Case Study-3


Build a film recommendation engine
Conclusion

20. Case Study-4


Predict house sales in King County, Washington State, USA, using
regression

Conclusion

21. Python Virtual Environment


Structure
Objective
What is a Python virtual environment?
How to create and activate a virtual environment?
How to open Jupyter notebook with this new environment?
How to set an activated virtual environment in PyCharm IDE?
What is requirements.txt file?
What is README.md file?
Upload your project in GitHub
Conclusion

22. Introduction to An Advanced Algorithm - CatBoost


Structure
Objective
What is a Gradient Boosting algorithm?
Introduction to CatBoost
Install CatBoost in Python virtual environment
How to solve a classification problem with CatBoost?
Push your notebook in your GitHub repository
Conclusion

23. Revision of All Chapters’ Learning


Conclusion

Index
CHAPTER 1

Data Science Fundamentals

“Learning from data is virtually universally useful. Master it and


you will be welcomed anywhere.”

– John Elder, founder of the Elder Research

Elder Research is America’s largest and most experienced analytics


consultancy. With his vision about data, John started his company
in 1995, yet the importance of finding information from the data
is a niche and the most demanding skill of the 21st century.
Today data science is everywhere.

The explosive growth of the digital world requires professionals


with not just strong skills, but also adaptability and a passion for
staying on the forefront of technology. A recent study shows that
demand for data scientists and analysts is projected to grow by
28 percent by 2021. This is on top of the current market need.
According to the U.S. Bureau of Labor Statistics, growth for data
science jobs skills will grow about 28% through 2026. Unless
something changes, these skill-gaps will continue to widen. In this
first chapter, you will learn how to be familiar with data, your role
as an aspiring data scientist, and the importance of Python
programming language in data science.
Structure

What is data?

What is data science?

What does a data scientist do?

Real-world use cases of data science

Why Python for data science?


Objective

After studying this chapter, you should be able to understand the


data types, the amount of the data generated daily, and the need
for data scientists with currently available real-world use cases.
What is data?

The best way to describe data is to understand the types of data.


Data is divided into the following three categories.
Structured data

A well-organized data in the form of tables that can be easily be


operated is known as structured data. Searching and accessing
information from such type of data is very easy. For example, data
stored in the relational database, i.e., SQL in the form of tables
having multiple rows and columns. The spreadsheet is another
good example of structured data. Structured data represent only
5% to 10% of all data present in the world. The following figure
1.1 is an example of SQL data, where an SQL table is holding the
merchant related data:

Figure 1.1: Sample SQL Data


Unstructured data

Unstructured data requires advanced tools and software’s to access


information. For example, images and graphics, PDF files, word
document, audio, video, emails, PowerPoint presentations,
webpages and web contents, wikis, streaming data, location
coordinates, etc., fall under the unstructured data category.
Unstructured data represent around 80% of the data. The
following figure 1.2 shows various unstructured data types:

Figure 1.2: Unstructured data types


Semi-structured data

Semi-structured data is structured data that is unorganized. Web


data such as JSON (JavaScript Object Notation) files, BibTex files,
CSV files, tab-delimited text files, XML, and other markup
languages are examples of semi-structured data found on the web.
Semi-structured data represent only 5% to 10% of all data present
in the world. The following figure 1.3 shows an example of JSON
data:

Figure 1.3: JSON data


What is data science?

It’s become a universal truth that modern businesses are awash


with data. Last year, McKinsey estimated that Big Data initiatives
in the US healthcare system could account for $300 billion to $450
billion in reduced healthcare spending or 12-17 percent of the $2.6
trillion baselines in US healthcare costs. On the other hand though,
bad or unstructured data is estimated to be costing the US
roughly $3.1 trillion a year.

Data-driven decision making is increasing in popularity. Accessing


and finding information from the unstructured data is complex
and cannot be done easily with some BI tools; here data science
comes into the picture.

Data science is a field that extracts the knowledge and insights


from the raw data. To do so, it uses mathematics, statistics,
computer science, and programming language knowledge. A
person who has all these skills is known as a data scientist. A
data scientist is all about being curious, self-driven, and
passionate about finding answers. The following figure 1.4 shows
the skills that a modern data scientist should have:
Figure 1.4: Skills of a modern data scientist
What does a data scientist do?

Most data scientists in the industry have advanced training in


statistics, math, and computer science. Their experience is a vast
horizon that also extends to data visualization, data mining, and
information management. The primary job of a data scientist is to
ask the right question. It’s about surfacing hidden insight that can
help enable companies to make smarter business decisions.

The job of a data scientist is not bound to a particular domain.


Apart from scientific research, they are working in various domains
including shipping, healthcare, e-commerce, aviation, finance,
education, etc. They start their work by understanding the
business problem and then they proceed with data collection,
reading the data, transforming the data in the required format,
visualizing, modeling, and evaluating the model and then
deployment. You can imagine their work cycle as mentioned in the
following figure

Figure 1.5: Work cycle of a data scientist


Eighty percent of a data scientist’s time is spent in simply finding,
cleansing, and organizing data, leaving only 20 percent to perform
analysis. These processes can be time-consuming and tedious. But
it’s crucial to get them right since a model is only as good as
the data that is used to build it. And because models generally
improve as they are exposed to increasing amounts of data, it’s in
the data scientists’ interests to include as much data as they can
in their analysis.

In the later chapters of this book, you will learn all the above-
required skills to be a data scientist.
Real-world use cases of data science

Information is the oil of the 21st century, and analytics is the


combustion engine. Whether you are uploading a picture on
Facebook, posting a tweet, emailing anybody, or shopping in an e-
commerce site, the role of data science is everywhere. In the
modern workplace, data science is applied to many problems to
predict and calculate outcomes that would have taken several
times more human hours to process. Following are some list of
real-world examples where data scientists are playing a key role:

Google’s AI research arm is taking the help of data scientists to


build the best performing algorithm for automatically detecting
objects.

Amazon has built a product recommendation system to


personalize their product.

Santander Group of Bank has built a model with the help of data
scientists to identify the value of transactions for each potential
customer.

Airbus in the maritime industry is taking the help of data


scientists to build a model that detects all ships in satellite
images as quickly as possible to increase knowledge, anticipate
threats, trigger alerts, and improve efficiency at sea.
YouTube is using an automated video classification model in
limited memory.

Data scientists at the Chinese internet giant Baidu released details


of a new deep learning algorithm that they claim can help
pathologists identify tumors more accurately.

The Radiological Society of North America (RSNA®) is using an


algorithm to detect a visual signal for pneumonia in medical
images which automatically locate lung opacities on chest
radiographs.

The Inter-American Development Bank is using an algorithm that


considers a family’s observable household attributes like the
material of their walls and ceiling, or the assets found in the
home to classify them and predict their level of need.

Netflix data uses data science skills on the movie viewing patterns
to understand what drives user interest and uses that to make
decisions on which Netflix original series to produce.
Why Python for data science?

Python is very beginner friendly. The syntax (words and structure)


is extremely simple to read and follow, most of which can be
understood even if you do not know any programming. Python is
a multi-paradigm programming language – a sort of Swiss Army
knife for the coding world. It supports object-oriented
programming, structured programming, and functional
programming patterns, among others. There’s a joke in the Python
community that Python is generally the second-best language for
everything.

Python is a free, open-source software, and consequently, anyone


can write a library package to extend its functionality. Data science
has been an early beneficiary of these extensions, particularly
Pandas, the big daddy of them all.

Python’s inherent readability and simplicity makes it relatively easy


to pick up, and the number of dedicated analytical libraries
available today means that data scientists in almost every sector
will find packages already tailored to their needs, freely available
for download.

The following survey was done by KDnuggets – a leading site on


business analytics, Big Data, data mining, data science, and
machine learning – clearly shows that Python is a preferable
choice for data science/machine learning:
Figure 1.6: Survey by KDnuggets
Conclusion

Most of the people think that it is very difficult to become a data


scientist. But, let me be clear, it is not tough!

If you love making discoveries about the world, and if you are
fascinated by machine learning, then you can break into the data
science industry no matter what your situation is. This book will
push you to learn, improve, and master the data science skill on
your own. There is only one thing you need to keep on, that is,
LEARN-APPLY-REPEAT. In the next chapter, we will set up our
machine, and be ready for our data science journey.
CHAPTER 2

Installing Software and System Setup

In the last chapter, we covered the data science fundamentals,


and now we are ready to move ahead and prepare our system for
data science. In this chapter, we will learn about the most popular
Python data science platform – Anaconda. With this platform, you
don't need to install Python explicitly – just one installation in
your system (Windows, macOS, or Linux) and you are ready to
use the industry-standard platform for developing, testing, and
training.
Structure

System requirements

Downloading the Anaconda

Installing the Anaconda in Windows

Installing the Anaconda in Linux

How to install a new Python library in Anaconda

Open your notebook – Jupyter

Know your notebook


Objective

After studying this chapter, you should be able to install Anaconda


in your system successfully and use the Jupyter notebook. You will
also run your first Python program in your notebook.
System requirements

System architecture: 64-bit x86, 32-bit x86 with Windows or Linux,


Power8, or Power9

Operating system: Windows Vista or newer, 64-bit macOS 10.10+,


or Linux, including Ubuntu, RedHat, CentOS 6+

Minimum 3 GB disk space to download and install


Another Random Scribd Document
with Unrelated Content
with the Rev. Dr Busby, ib. 96, 98
with Jacob Tonson, ib. 103, 106, 109, 118, 119, 121, 122,
123, 124, 126, 127, 128, 130, 136, 137, 138
with Mr Dennis, ib. 111, 114
with Mrs Steward, ib. 141, 144, 146, 147, 149, 150, 153, 156,
157, 161, 169, 171, 174, 178, 180
with his sons, at Rome, ib. 131
with Elmes Steward, Esq. ib. 143
with Samuel Pepys, ib. 154, 156
with the Right Hon. Charles Montague, ib. 159
with Mrs Elizabeth Thomas, junior, xviii, 164, 167, 173
Court of Requests, a scene of political intrigue, x, 348
Covenant in England, and League in France, parallel
between, i, 281
Coventry, Sir John, assault on, ix, 258
Cowardice of the Earl of Rochester, xv, 215
Cowley, the most ingenious poet of the metaphysical
class, i, 15
character of Cromwell by, ix, 4
imitation of, ib. 191
and Denham’s manner of Prose translation, xii, 14
translation of Pindar by, ib. 15
Cranmer, George, account of, x, 26
Creech, Thomas, account of, xii, 277
Dryden’s conduct with regard to, censured, viii, 200
justified, ib. 202
Dedication of to Horace, extract from, ib. 220
Life of Cleomenes by, ib. 207
Verses by on Religio Laici, x, 36
Note and Letter on a passage in Translation of Lucretius by,
xviii, 94
Cressy, Hugh Paulin, account of, x, 21
Critical history of the Old Testament, translator of, x, 32
Criticism, in tragedy, grounds of, vi, 243
specimen of Milbourne’s on Dryden’s Virgil, i, 397
Critics censured by Dryden, xii, 49
French better than the English, xiv, 159
Cromwell, Oliver, character of by Cowley, ix, 4
heroic stanzas to the memory of, ib. 8
Sprat’s verses to the memory of, ib. 5
dissolution of the Parliament by, ib. 45
conduct of to Scotland, ib. 19
storm at the death of, ib. 23
Shaftesbury’s situation during the usurpation of, ib. 445
death of, Dryden’s first theme, i, 38
Cruel doctrine of English lawyers, xv, 297
Cruelties of the Dutch to the English merchants, or
Amboyna, a tragedy, v, 1
Curious combat, xi, 283
Custom at the birth of children, xiii, 389
Cymon and Iphigenia, xi, 454
remarks on, ib. 452
idea of borrowed from Theocritus, ib. 452

D.

Dacier’s character of the Satires of Horace, vol. xiii, p. 77


Danby, Earl of, epistle dedicatory to, v, 296
account of, ib. 296
Daphnis and Chloris, from Theocritus, xii, 300
Daphnis, a pastoral, xiii, 391
Dartmouth, Earl of, account of, ix, 386
Davenant, Sir William, account of, iii, 97
share of, in the alteration of the Tempest, ib. 98
first introduced regular scenery on the English stage, x, 323
introduced moveable scenes on the stage, i, 79
a restorer of taste in poetry, i, 48
style of, imitated by Dryden, i, 59
Davenant, Dr Charles, account of, x, 333
Davies’s Dramatic Miscellanies, extract from, v, 172
Death of Lodislaus, king of Hungary, vii, 184
Charles II. titles of odes on, x, 55
concern of the people for, ib. 79
circumstances regarding, ib. 80
Oliver Cromwell, storm at, ix, 23
Dryden’s first theme, i, 38
Ajax, xii, 198
Death, scenes of, improper on the stage, xv, 332
Decameron of Boccacio, the tale of Sigismund and
Guiscardo originally from, xi, 443
Theodore and Honoria from, ib. 448
Symon and Iphigenia from, ib. 473
Decker, character of, x, 451
Declaration of James II. concerning the church of
England, ib. 262
for liberty of conscience, ib. 279
Decree of the University of Oxford, concerning non-
resistance, ib. 241
Decrees of fate, Jupiter cannot alter, xv, 103
Decrepitude, premature, of the Earl of Shaftesbury, ix,
454
Dedication to the King, xvii, 81
Queen, xvi, 3
Duke of Newcastle, ii, 5, iii, 209
Earl of Orrery, ii, 113
Duchess of Monmouth and Buccleuch, ib. 259
Duke of Monmouth and Buccleuch, iii, 346
Duke of York, iv, 9
Earl of Rochester, ib. 235
Sir Charles Sedley, ib. 348
Lord Clifford, v, 5, xiii, 337
the Duchess of York, v, 95
Earl of Mulgrave, ib. 174
Earl of Danby, ib. 296
Lord Vaughan, vi, 6
the Earl of Sunderland, ib. 231
Lord Haughton, ib. 373
the Earl of Rochester, vii, 13
the Earl of Leicester, vii, 283
Sir William Leveson Gower, viii, 7
the Marquis of Halifax, ib. 113
Earl of Salisbury, ib. 337
Metropolis of Great Britain, ix, 89
Earl of Abingdon, xi, 121
Duke of Ormond, ib. 195
Duchess of Ormond, ib. 245
Lord Radcliffe, xii, 47
the Earl of Chesterfield, xiv, 3
Marquis of Normanby, ib. 127
Earl of Dorset, xv, 286
Duke of Ormond, xvii, 5
Congreve’s edition of Dryden’s Dramatic Works, ii, 5
Orpheus Britannicus, xi, 146
Creech’s Horace, extract from, viii, 202
(Author’s) of the History of the League, to the French King,
xvii, 89
the Empress of Morocco, extract from, xv, 398
Defeat of the Mahometans at Malacca, xvi, 211
Defence of an Essay of Dramatic Poesy, ii, 265
the epilogue to the Conquest of Granada, iv, 211
the Immunities of the city of London, vii, 127
the use of the triplet in poetry, xiv, 216
rhyme in serious plays, xv, 367
the paper written by the Duchess of York, xvii, 208
Virgil against the reflections of M. Fontenelle, xiii, 345
Definition of satire, ib. 103
modern, ib. 105
a Georgic, xiv, 16
a play, xv, 302
Defoe’s Appeal to Honour and Justice, extract from, x,
387
Denham and Cowley’s manner of translation, xii, 14
Sir John, opinion of, on verbal translation, ib. 14
and Waller, improvers of English versification, i, 18
Dennis, John, letter of, to Dryden, xviii, 111
Dryden to, ib. 114
Dennis’s account of Dryden’s controversy with Settle, i,
183
Description of Titus Oates, by North, ix, 355
the Independents, x, 140
the personal appearance of Bishop Burnet, x, 270
Richard Flecknoe, ib. 441
Nokes the comedian, xi, 50
Love, xiv, 173
Mozambique, xvi, 63
the city of St. Thomas, ib. 138
the island of Ternato, ib. 166
Japan, ib. 290
an accomplished historian, xviii, 48
Design, the second part of painting, xvii, 349-420
Despairing Lover, from Theocritus, xii, 296
Device of the partizans of Monmouth, x, 364
Dialogue concerning women, preface to, xviii, 1
Dickinson, Henry, translator of Pere Simon’s critical
history of the Old Testament, x, 32
Dido to Æneas, epistle of, xii, 35
Difference between the taste of Dryden and Milton, i,
168
Dillon, Wentworth, vide Roscommon, Earl of,
Dimock or Dymock, hereditary champion of England, ii,
266
Dinner of loyal apprentices, ix, 396
Disaffected, American colonies a refuge for the, x, 394
Disappointment, epilogue to, ib. 390
Dispute of Dryden with Milbourne, i, 394
Blackmore, ib. 420
Disputes, political, in 1680 and 1681, parallel between,
x, 353
Dissolution of Parliament by Cromwell, ix, 45
Distinction between the Greek satirical drama, and the
satirical poetry of the Romans, xiii, 47
of comedy into acts, not known to the early Greeks, xv, 311
Distressed circumstances of Wycherly, xiii, 77
Divination, rod of, what, ix, 20
Divines, moderate, what, x, 242
Division of the integral parts of a play, xv, 312
Divisions of history, xvii, 56
commentaries or annals, ib. 2
history proper, ib. 57
biography, ib. 58
Doctrine of Socinius, x, 46
Arius, ib. 146
Dolben, Bishop, account of, ix, 303
Gilbert, account of, xv, 190
Domenichino, character of, as a painter, xvii, 497
Don Sebastian, a tragedy, vii, 271
remarks on, ib. 273
epistle dedicatory to, ib. 283
preface to, ib. 291
prologue to, ib. 302
epilogue to, ib. 444
Donne, character of, as a love-poet, xi, 123
Dorset, Earl of character of, xiii, 7
Essay on Satire, addressed to the, ib. 3
Dryden’s exaggerated praise of, ib. 15
dedication to, xv, 286
song of, written the evening before battle, xv, 284
Double Discovery, or the Spanish Friar, xi, 365
Drama of the Greeks, plot of, xv, 313
Romans, ib. 314
revival of, at the Restoration, i, 65
Dramatic career of Dryden, commencement of, i, 80
termination of, i, 364
poesy, defence of, an essay of, ii, 265
notes concerning, ib. 263
poetry of the last age, essay on, iv, 211
miscellanies, extract from, v, 172
performances among the Romans, origin of, xiii, 51
Dramatic poesy, essay on, xv, 293
writing, English excel the ancients in, xv, 396
Dramatis personæ of Calisto, x, 337
The True Widow, ib. 343
The Humorists, ib. 452
Driden, Sir John, character of, i, 37
Driden, John, of Chesterton, account of, xi, 71
Poetical Epistle to, ib. 75
remarks on, ib. 71
Drury-lane theatre burnt, x, 319
Dryden, John, Life of, i, 1
descent and parentage of, ib. 21
anecdotes of the brothers and sisters of, ib. 25
birth of, i, 27
education of, ib. 27
first poems of, ib. 28
is admitted to Trinity College, Cambridge, ib. 28
punished for contumacy, ib. 29
long residence of at the university, ib. 31
degree of Master of Arts of, xviii, 185
Sir Gilbert Pickering’s clerk, i. 36
death of Cromwell, the first theme of, ib. 38
first poem of consequence of, ix, 83
poems of on the Restoration, i, 50
changes the spelling of his name, ib. 53
is chosen a member of the Royal Society, ib. 56
imitates the style of Davenant, ib. 59
commencement of dramatic career of, ib. 80
first appearance of the Wild Gallant, ib. 80
Rival Ladies, ib. 81
Indian Queen, ib. 83
Indian Emperor, ib. 84
intrigue of with Mrs Reeves, ib. 87
marriage of, ib. 88
Essay of Dramatic Poesy, appearance of, ib. 92
controversy of with Sir Robert Howard, ib. 94
contract of with the King’s Company of Players, ib. 101
appearance of the Maiden Queen of, ib. 104
Tempest, ib. 105
Sir Martin Mar-all, ib. 107
the Mock Astrologer, ib. 109
Royal Martyr, ib. 110
Conquest of Granada, ib. 112
promoted to the offices of poet-laureat and historiographer-
royal, ib. 115
patent of, as poet-laureat and historiographer-royal, xviii, 187
appearance of Marriage A-la-mode, i, 143
the Assignation, ib. 146
controversy with Matthew Clifford, ib. 154
Richard Leigh, ib. 157
Edward Ravenscroft, ib. 160
Elkanah Settle, ib. 259
Rochester, ib. 195
appearance of Massacre of Amboyna, ib. 163
State of Innocence, ib. 166
Aurenge-Zebe, i, 209
is assaulted in Rose-street, ib. 204
meditates an epic poem, ib. 215
appearance of All for Love, ib. 218
Limberham, ib. 221
Œdipus, ib. 222
Troilus and Cressida, ib. 223
the Spanish Friar of, ib. 227
relations of when he composed the Spanish Friar, ib. 233
anecdote of with Southerne, ib. 237
engages in politics, ib. 239
appearance of Absalom and Achitophel, Part I. ib. 243
the Medal, ib. 250
extracts from answer to, ix, 452
controversy of with Shadwell, i, 259, 286
causes of enmity between Shadwell and, x, 472
appearance of Mac-Flecknoe, a satire, i, 266
Absalom and Achitophel, Part II. ib. 268
assisted by Nahum Tate in, ix, 315
effect of the satirical poetry of on English poetry, i, 275
character of, as a satirist, ib. 279
share of in the composition of the Duke of Guise, ib. 281
furnishes a Preface to the translation of Plutarch’s Lives, ib.
289
translates the History of the League, ib. 290
appearance of the First Miscellany of, ib. 294
commencement of Southerne’s friendship with, ib. 294
Memorial of to the Earl of Rochester, ib. 296
appearance of Threnodia Augustales of, ib. 299
Albion and Albanius, ib. 299
becomes a convert to the Roman Catholic faith, ib. 303
reasons which might influence him in his change of religious
opinions, ib. 303
sincere in his attachment to the Catholic faith, ib. 322
controversy of with Stillingfleet, ib. 323, xviii, 187
illiberality of Dryden and Stillingfleet, x, 251
appearance of the Hind and the Panther, i, 325
libels occasioned by publication of, x, 104
Hind and Panther, where composed, i, 325
projects a translation of the History of Heresies, ib. 334
appearance of the Life of St Francis Xavier, ib. 336
second volume of Miscellanies, ib. 340
character of translations of by Garth, ib. 340
translation of Te Deum, ib. 343
hymn for St John’s eve, ib. 344
consequences of the Revolution to, ib. 347
poetical attacks against, ib. 350
loses the offices of poet-laureat and historiographer-royal, ib.
354
appearance of Don Sebastian, i, 357
King Arthur, ib. 360
Cleomenes, ib. 362
Love Triumphant, ib. 364
last dramatic work of, viii, 333.
list of plays of, with the respective dates of their being acted
and published, i, 367
connections in society of, after the Revolution, ib. 369
indebted to Dorset’s bounty, ib. 370
exaggerated praise of Dorset by, xiii, 15
authority of in Will’s Coffee-house, i, 371
friendship of with Southerne and Congreve, ib. 372
literary friends of, ib. 373
attacked by Swift, ib. 374
appearance of translation of Juvenal and Persius, ib. 375
smaller pieces, ib. 376
Eleonora, ib. 376
Third Miscellany, ib. 378
controversy of with Rymer, ib. 379
correspondence of with Jacob Tonson, ib. 381
appearance of the translation of Virgil by, ib. 382
Fourth Miscellany, ib. 382
quarrel of with Tonson, ib. 387
anecdote of, ib. 390
and Tonson, ib. 391
dispute of with Milbourne, ib. 394, xi, 237
animadversions of on Milbourne, ib. 403
Ode to St Cecilia, appearance of, ib. 407
set to music by Handel, ib. 410
attacked for his silence on the death of Queen Mary, xviii, 222
translation of Homer meditated by, i, 414
projected works of, xiii, 31
dispute of with Blackmore, i, 420
appearance of Fables, ib. 427
agreement of with Jacob Tonson concerning the Fables, xviii,
191
resentment of against the clergy, i, 428
the Pilgrim brought forward for the benefit of, ib. 434
attack upon Blackmore and Collier, in the Prologue and
Epilogue to the Pilgrim, i, 436
last period of the life of, ib. 439
death and funeral of, ib. 440
Mr Russell’s bill for funeral of, xviii, 194
description of funeral of, ib. 195
ludicrous account of the funeral of by Farquhar, i, 441
Mrs Thomas’s letters concerning the death and funeral of,
xviii, 200
account of funeral of by Mrs Thomas, false, i, 442
account of funeral of by Tom Brown, ib. 443
character of, ib. 444
character of by Congreve, ii, 9
notices of family of, i, 462
Ode on the death of by Alexander Oldys, xviii, 234
and Shakspeare, parallel between, v, 287
conduct of with regard to Creech, censured, viii, 200
justified, ib. 202
comparison between the poems of Sprat and, ix, 6
accused of approving of the execution of Charles I, ib. 16
versification of the King’s Speech to the Oxford Parliament by,
ib. 309
satire on Shadwell by, ib. 379
use of the Alexandrine by, ridiculed, ib. 413
Epode to, vii, 133
Prologues of ridiculed in the Rehearsal, x, 313
acknowledgment of to Dr William Gibbons, xi, 77
mistake of regarding the inequalities of Chaucer’s rhyme, xi,
221
critics censured by, xii, 49
inaccuracy of with regard to Sir Philip Sidney, xiii, 18
his translation of Virgil the best, xiv, 209
Poems ascribed to, xv, 197
Original Prose Works of, ib. 281
colleagues of in the Notes and Observations on the Empress
of Morocco, ib. 399
characterised, ib. 399
Life of Plutarch by, xvii, 1
extract from Epistolary Poem to, xviii, 218
Letters of, ib. 83
to Madam Honor Dryden, ib. 86
to the Earl of Rochester, ib. 89, 101
to the Rev. Dr. Busby, ib. 96, 98
to Jacob Tonson, ib. 103, 106, 109, 118, 119, 121, 122,
123, 124, 126, 127, 128, 130, 136, 137, 138
with Mr Dennis, ib. 111, 114
with Mrs Steward, ib. 141, 144, 146, 147, 149, 150, 153,
156, 157, 161, 169, 171, 174, 178, 180
with his sons at Rome, ib. 131
with Elmes Stewart, Esq., ib. 143
with Samuel Pepys, ib. 154, 156
with the Right Hon. Charles Montague, ib. 159
with Mrs Elizabeth Thomas, junior, ib. 164, 167, 173
Dryden, Charles, letter of to Corinna, xviii, 213
Duchess of York, account of the, v, 95, ix, 73
Epistle Dedicatory to, v, 95
Verses to, ix, 76
Poetical Epistle to, xi, 33
paper of, xvii, 189
controversy between Dryden and Stillingfleet concerning
paper of, ib. 185
Stillingfleet’s answer to, ib. 194
Dryden’s defence of, ib. 208
Stillingfleet’s answer to defence of, ib. 252
Newcastle, account of, iii, 210
Buccleugh and Monmouth, account of, ix, 256
Ormond, Dedication to, ib. 245
Portsmouth’s picture, epigram on, xv, 280
Duke of Guise, a tragedy, vii, 1
remarks on, ib. 3
Parallel between, and affairs in England, ib. 4
Epistle Dedicatory to, ib. 18
Prologue to, ib. 19
Epilogue to, ib. 122
a tragedy, Vindication of, vii, 125
remarks on Vindication of, ib. 127
Advertisement to, ib. 133
and Monmouth, no parallel intended between, ib. 144
Massacre of Paris transposed for, ib. 188
attacked by Shadwell, i, 286
share of Dryden in, ib. 281
assassination of, xvii, 148
Duke of Newcastle, Congreve’s Dedication to, ii, 5
account of, iii, 209
epistle dedicatory to, ib. 209
Lerma, answer to the Preface of the, ii, 265
York, Dedication to, iv, 9
personal bravery of, ib. 10, ix, 161
attempt to counteract the influence of in the city, ix, 388
shipwreck of upon the Lemman Ore, ib. 401
picture of, at Guildhall, defaced, vii, 51
Prologue to, x, 366
requested by Charles II. to retire to the continent, ix, 384
presence of acceptable to the Scots, ib. 385
Albemarle, account of, ix, 394
gallant actions of, ix, 250-6
Monmouth, account of, ix, 250
Buckingham, account of, v, 174
intrepidity of, v, 175
epistle dedicatory to, ib. 174
Answer of to Dryden’s Absalom and Achitophel, extracts
from, ix, 272
Battle of, extract from, ib. 398
author of the Essay on Satire, xv, 201
gallantry of, ib. 211
satire on gallantry of, ib. 212
Ormond, account of, ix, 294-8, xi, 195
dedication to, xi, 195, xvii, 5
behaviour of at the battle of Landen, xi, 202
Beaufort, account of, ix, 390
noble house-keeping of, ib. 391
Grafton, account of, ix, 396
examination of Bishop Burnet concerning, x, 274
Shrewsbury, account of, xv, 192
Du Bartas, poem of, extract from, xv, 233
Dumfounding, what, x, 408
Dundee, Viscount, account of, xi, 113
Epitaph on the death of, ib. 115
remarks on, ib. 113
Pitcairn’s Epitaph upon, ib. 114
Du Fresnoy, Chas. Alphonse, account of, xvii, 281
Du Fresnoy’s Art of Painting, ib. 279
remarks on, ib. 281
observations on, ib. 392
judgment of the works of the principal painters of the two last
ages, ib. 489
Duras, Lewis, vide Earl of Feversham
Dutch, satire on, ix, 71
Dutch insolence, ib. 162
Duty of apprentices in ancient times, vi, 382

E.

Eagre or Higre, what, x, 65


Earl of Orrery, account of the, ii, 113
dedication to, ib. 113
of Mulgrave, account of the, v, 174
epistle dedicatory to, ib. 174
character of, ib. 175
vide Duke of Buckingham,
of Danby, account of the, v, 296
epistle dedicatory to, ib. 296
of Lindsay, account of the, ib. 304
of Carbery, vide Vaughan, Lord
of Sunderland, account of, vi, 231
epistle dedicatory to, ib. 231
of Rochester, account of, vii, 13, ix, 607
character of, iv, 235
epistle dedicatory to, ib. 235, vii, 13
banished the Court, ib. 238
assaults Dryden in Rose-street, i, 204
Dryden’s memorial to, ib. 296
account of, vii, 283
epistle dedicatory to, ib. 283
of Salisbury, epistle dedicatory to, viii, 337
of Clarendon, character of the, ix, 63
of Ossory, account of the, ib. 299
of Feversham, account of, ix, 397
of Nottingham, account of, ix, 400
of Shaftesbury, imprisonment and acquittal of, ib. 409
last period of the life of, ib. 415
ridiculed as aspiring to the crown of Poland, ix, 441
offers his services to Charles I., ib. 444
character of, during usurpation of Cromwell, ib. 445
conduct of, at the Restoration, ib. 447
circumstances which influenced him in his change of
politics, ib. 448
North’s opinion of the designs of, upon the person and
authority of Charles II., ib. 451
premature decrepitude of, ib. 454
of Roscommon, account of the, xii, 341
poetical epistle to, xi, 28
of Dorset, Dryden indebted to the bounty of, i, 370
Essay on Satire, addressed to the, xiii, 3
character of, ib. 7
Dryden’s exaggerated praise of, ib. 15
epistle dedicatory to, xv, 286
song of, written the evening before the battle, ib. 284
of Peterborough, account of the, ib. 189
of Exeter, character of the, ib. 191
epitaph of the, ib. 191
of Aylesbury, account of the, ib. 207
of Essex, account of the, ib. 207
prologue to, x, 368
Ecclesiastical policy, Hooker’s treatise upon, ib. 26
Effect of Dryden’s satirical poems on English poetry, i,
275
Effects of the Revolution upon literary pursuits, ib. 385
Elegies and epitaphs, xi, 91, 160
Elegy upon the death of Lord Hastings, ib. 94
to the memory of Mr Oldham, xi, 99
Mrs Anne Killigrew, ib. 105
on the death of Amyntas, ib. 139
on a very young gentleman, ib. 142
Election of Sheriffs for London, contest at, ix, 404
Eleonora, a panegyrical poem, to the memory of the
Countess of Abingdon, xi, 117
remarks on, ib. 119
dedication of, ib. 121
Elizabeth, Queen, age of, abundant in false wit, i, 7
John Lillie’s share in determining the taste of, ib. 7
association for the defence of the person of, ix, 422
Empress of Morocco, character of, i, 187
notes and observations on, xv, 405
postscript to, ib. 409
parody on part of, ib. 407
preface to notes, and observations on, ib. 401
England, poetry of, before the civil wars, i, 4
state of learning in, on the accession of James I., ib. 5
milled money not struck in, before 1663, ix, 451
loyalty of church of, x, 154
tradition of no weight with the church of, ib. 156
establishment of the Jesuits in, ib. 255
English poetry, effect of Dryden’s satirical poems on, i,
275
versification improved by Denham and Waller, ib. 18
fleet, names of changed, ix, 63
verse, Virgil translated into, xiii, 279
lawyers, cruel doctrine of, xv, 297
plays, superiority of, ib. 349
excel the ancients in dramatic writing, ib. 3
Enchanted Island, or the Tempest, a comedy, iii, 95
Ennius, first author of Roman satire, xiii, 58
Ent, Dr George, account of, xi, 16
Enterprize of Sir Thomas Allen, ix, 177
Sir Robert Holmes, ib. 178, 184
Epic poem meditated by Dryden, i, 215
Epilogues and Prologues, x, 309, 424
to the Wild Gallant, a comedy, ii, 106-7
the Indian Queen, ib. 255
the Indian Emperor, ib. 377
Secret Love, or the Maiden Queen, ib. 469
Sir Martin Mar-all, iii, 93
the Tempest, or the Enchanted Island, ib. 205
An Evening’s Love, ib. 340
Tyrannic Love, iii, 435
the Conquest of Granada, iv, 110, 210
Defence of the, ib. 211
remarks on, ib. 229
to Marriage a-la-Mode, ib. 342
the Assignation, ib. 447
Amboyna, v, 87
Aureng-Zebe, ib. 282
All for Love, ib. 411
the Spanish Friar, vi, 485
Limberham, ib. 114
Œdipus, ib. 222
Troilus and Cressida, ib. 363
the Duke of Guise, vii, 122
Albion and Albanus, ib. 268
Don Sebastian, ib. 444
Amphitryon, viii, 106
Cleomenes, ib. 329
Love Triumphant, ib. 435
the Pilgrim, ib. 462
remarks on, ib. 459
attack upon Jeremy Collier in, i, 436
spoken at the opening of the New House, x, 326
Oxford, ib. 330
intended to have been spoken by Lady H. M. Wentworth, ib.
337
to the Man of Mode, ib. 339
Mithridates, ib. 341, 354
Tamerlane, ib. 356
the University of Oxford, ib. 360, 381
for the King’s House, ib. 362
to the Loyal Brother, ib. 377
Constantine the Great, ib. 386
the Disappointment, ib. 390
upon the union of the two companies, x, 398
to the Princess of Cleves, ib. 402
Henry II., ib. 412, 420
the Husband his own Cuckold, ib. 423
the Humourists, from, ib. 456
Epistle dedicatory to the King, xvii, 81
Queen, xvi, 3
Duke of Newcastle, ii, 5, iii, 209
Earl of Orrery, ii, 113
Duchess of Monmouth and Buccleuch, ii, 259
Duke of Monmouth and Buccleuch, iii, 346
Duke of York, iv, 9
Earl of Rochester, ib. 235
Sir Charles Sedley, ib. 348
Lord Clifford, v, 5, xiii, 337
the Duchess of York, v, 95
Earl of Mulgrave, ib. 174
Earl of Danby, ib. 296
Lord Vaughan, vi, 6
the Earl of Sunderland, ib. 231
Lord Haughton, ib. 373
the Earl of Rochester, vii, 13
Earl of Leicester, ib. 283
Sir William Leveson Gower, viii, 7
the Marquis of Halifax, ib. 113
Earl of Salisbury, ib. 337
Metropolis of Great Britain, ix, 89
Earl of Abingdon, xi, 121
Duke of Ormond, ib. 195
Duchess of Ormond, ib. 245
Lord Radcliffe, xii, 47
the Earl of Chesterfield, xiv, 3
Marquis of Normandy, ib. 127
Earl of Dorset, xv, 286
Duke of Ormond, xvii, 5
Mr Congreve’s edition of Dryden’s Dramatic Works, ii, 5
Orpheus Britannicus, xi, 146
Creech’s Horace, extract from, viii, 202
of the History of the League, to the French King, xvii, 89
to the Empress of Morocco, extract from, xv, 398
to the Whigs, ix, 417
by Sir George Etherege, to the Earl of Middleton, xi, 40
poetical, from Pope to Jervas, xvii, 282
Mason to Sir Joshua Reynolds, ib. 284
Epistles of John Dryden, xviii, 83
remarks on, ib. 85
of Dryden to Madam Honor Dryden, ib. 86
to the Earl of Rochester, ib. 89, 101
to the Rev. Dr Bushby, ib. 96, 98
to Jacob Tonson, ib. 103, 106, 109, 118, 119, 121, 122,
123, 124, 126, 127, 128, 130, 136, 137, 138
to Mr Dennis, ib. 111, 114
to Mrs Steward, ib. 131, 144, 146, 147, 149, 150, 153, 156,
157, 161, 169, 171, 174, 178, 180
to his sons, at Rome, ib. 131
to Elmes Steward, Esq., ib. 143
to Samuel Pepys, ib. 154, 156
to the Right Hon. Charles Montague, ib. 159
to Mrs Elizabeth Thomas, junior, ib. 164, 167, 173
Epistles poetical, xi, 1-90
to John Hoddeson, ib. 4
to Robert Howard, ib. 7
to Dr Charleton, ib. 14
to Lady Castlemain, ib. 20
to Mr Lee, ib. 23
to the Earl of Roscommon, ib. 28
to the Duchess of York, ib. 33
to Mr J. Northleigh, ib. 37
to Sir George Etherege, ib. 42
to Mr Southerne, ib. 50
to Henry Higden, ib. 55
to Mr Congreve, xi. 59
to Mr Granville, ib. 64
to Mr Motteux, ib. 69
to John Driden, ib. 75
to Sir Godfrey Kneller, ib.
Ovid’s, translations from, xii, 1-41
preface to, ib. 3
character of, ib. 11
Canace to Macareus, ib. 21
Helen to Paris, ib. 26
Dido to Æneas, ib. 35
Epitaph on the Earl of Rochester’s being dismissed from
the treasury, xv, 279
Epithalamium of Helen and Menelaus, xii, 292
Epitome of Polybius, engaged in by Marcus Brutus, xviii,
30
Epode to Dryden, vii, 133
second of Horace, xii, 351
Essay of Dramatic Poesy, defence of, ii, 265
on Heroic Plays, iv, 16
on the dramatic poetry of the last age, iv, 211
on translated verse, xi, 28
Poetical Epistle on, ib. 28
on Virgil’s Georgic’s, xiv, 14
upon Satire, xv, 203
remarks on, ib. 201
upon Satire, Duke of Buckingham, author of, xv, 201
of Dramatic Poesy, xv, 293
remarks on, ib. 283
dedication to, ib. 286
advertisement to, ib. 292
Essex, Earl of, prologue to, x, 368
Establishment of the Jesuits in England, ib. 255
Etherege, Sir George, account of, ib. 454
epistle of, to the Earl of Middleton, xi, 40
Evremont, M. St, account of, xviii, 11
character of, ib. 9
Examination of Bishop Burnet by the House of
Commons, x, 274
Evening’s Love, or the Mock Astrologer, a comedy, iii,
207
epistle dedicatory to, ib. 209
remarks on, iii, 217
preface to, ib. 218
prologue to, ib. 233
epilogue to, ib. 340
Extract from preface to the Sullen Lovers, i, 260
Journal of Capt. Christopher Gunman, ib. 301
Preface to Blackmore’s Prince Arthur, ib. 422
Epistle to Sir Richard Blackmore, ib. 437
from epilogue to the Humourists, x, 456
letter to Jacob Tonson, xv, 194
Wilson’s life of Congreve, xviii, 200
an epistolary poem to Dryden, occasioned by the death of the
Earl of Abingdon, ib. 218
Extracts from poems attacking Dryden for his silence
upon the death of Queen Mary, ib. 222
Vindication of the Answer to some late Papers, x, 246, 249
Roscius Anglicanus, x, 325
Appeal to Honour and Justice, x, 387
Love’s Kingdom, ib. 453
epilogue to the Humourist, ib. 456
Malone’s History of the English Stage, xi, 58
Spanheim’s Dissertation, xiii, 47
poem of Du Bartas, xv, 233
epilogue upon reviewing Every Man in his Humour, xv, 310
dedication to the Empress of Morocco, xv, 398
Caulfield’s History of the Gunpowder Plot, i, 24
one of Dryden’s first poems, i, 33
Creech’s dedication to Horace, viii, 202
poem of John James, ix, 164
Naboth’s Vineyard, ib. 198
Judah Betrayed, a poem, ib. 266
the Duke of Buckingham’s answer to Absalom and Achitophel,
ib. 272
Settle’s Absalom senior, ib. 375
poem of Loyal Feast Defeated, ib. 390
The Battle, ib. 398
Loyal Medal vindicated, ib. 423
Hickeringill’s answer to Dryden’s Medal, ix, 452
Lenten Prologue, vii, 131
the Religio Laici of J. R., x, 9
Revolter, a tragi-comedy, x, ib.
Lord Herbert’s history, ib. 23
Tom Brown’s works, ib. 51
preface to the New Converts Exposed, ib. 103
Reasons for Mr Bayes changing his Religion, ib. 103, 313, 315
papers found in the strong-box of King Charles II. ib. 188-190
F.

Fabel, Peter, anecdote of, vol. vii, 10


Fable of the Swallows, application of, x, 253
Cock and Fox, xi, 327
Flower and Leaf, or the Lady in the Arbour, ib. 356
remarks on, ib. 354
argument of, ib. 354
Fables, tales from Chaucer, xi, 193, 399
translations from Boccace, ib. 401, 480
Dedication of, ib. 195
Preface prefixed to, ib. 205
Dryden’s agreement with Jacob Tonson, concerning, xviii, 191
verses occasioned by reading, xviii, 227
Appendix to, containing the original tales of Chaucer,
modernized by Dryden, xii, i-xci
of Iphis and Ianthe, xii, 116
Pygmalion and the Statue, ib. 123
Cinyras and Myrrha, ib. 127
Ceyx and Alcyone, ib. 139
Fair Stranger, a song, xi, 163
Fairborne, Sir Palmes, epitaph on tomb of, xi, 155
account of the death of, xi, 156
Fairfax, Edward, translator of Tasso’s Jerusalem, xi, 207
Falkland, Anthony, Lord Viscount, account of, v, 307
Fall of Man, an opera, v, 89
False wit, one character of the poetry of Queen
Elizabeth, i, 7
taste, prevalence of in the age of James I. ib. 9
Familiar epistle to Mr Julian, xv, 222
remarks on, ib. 218
Familiarity of Augustus with Virgil and Horace, xiii, 313
Farquhar’s ludicrous account of the Funeral of Dryden, i,
441
Fasts and thanksgivings, appointment of, belongs only
to the king, ix, 388
Fate of Titus Oates, ib. 356
Fates, Jupiter cannot alter the decrees of the, xv, 103
Feigned Innocence, or Sir Martin Mar-all, a comedy, iii, 1
Female Prelate, and Lancashire Witches, account of, vii,
142
performers first introduced on the stage after the Restoration,
x, 321
Ferrex and Perrex, a tragedy, mistake of Dryden
concerning, ii, 118
Ferguson, Robert, account of, ix, 363
Fescennine and Saturnine verses, what, xiii, 51
Festival, St Cecilia’s, account of, xi, 166
Feversham, Earl of, account of, ix, 397
Finch, Sir Keneage, vide Nottingham, Earl of
Fire of London, conduct of Charles II. on, ix, 187
its dreadful effects, ib. 189
First Miscellany, appearance of, i, 294
First poems of Dryden, i, 28
Fitzharris’s Plot, Waller’s Discovery of, ib. 382
Flail, account of Protestant, vii, 19
Flecknoe, Richard, account of, vi, 7, x, 441
Marvell’s description of, ib. 441
plays of, ib. 442
Fleet, English, names of changed, ix, 48
Flower and the Leaf, a fable, xi, 356
Floure and the Leafe, by Chaucer, xii, lxviii
Fontenelle’s Reflections, defence of Virgil from, xiii, 345
Forbes, James, account of, ix, 368
Fourth Miscellany, appearance of, i, 382
Four days battle, account of, ib. 168, 174
Frampton, Mary, epitaph on monument of, xi, 158
France, Charles II. receives a pension from, ix, 385
France set the pattern of rhiming or heroic plays, i, 69
League in, and Covenant in England, parallel between, i, 281
Freethinkers, their opinions, x, 143
Free translation, Cowley’s mode of, xii, 15
French stage, punctilios of, v, 307
exiled Protestants, relief given by King James II. to, x, 264
poetry, character of, xiii, 366
better critics than the English, xiv, 159
authors, scrupulous observers of the unities of time and
action, xv, 325
observe the laws of the stage, and decorum more exactly
than the English, xv, 336
plays, character of, ib. 337
servility of the, in attention to the unities, ib. 346
Friar Bacon, anecdote of, vii, 10
Friends, literary, of Dryden, i, 373
Friendship of Dryden with Southerne and Congreve, i,
372
Frontispiece to Albion and Albanus, vii, 231
Fuller, William, account of, viii, 329
Fuller’s anecdote of Robert Keies, i, 23
Funeral Pindaric poem, x, 53
of Dryden, i, 440
Farquhar’s ludicrous account of, ib. 441
Tom Brown’s account of, ib. 443
Mr Russel’s bill for, xviii, 194
Mrs Thomas’s letters concerning, ib. 200
description of, ib. 195
procession at the death of St Francis Xavier, description of,
xvi, 465

G.

Gallant, Wild, a comedy, vol. ii, 13


actions of Prince Rupert, ix, 167-174
the Duke of Albemarle, ix, 168, 171
action of Edward Spragge, xi, 24
Gallantry of the Duke of Buckingham, xv, 211
Gallus, a pastoral, xiii, 417
Garth’s character of Dryden’s Translations, i, 340
Georgic, definition of, xiv, 16
Georgics of Virgil, translation of, xiv, 1-122
dedication of, ib. 3
essay on, ib. 14
character of, ib. 25
notes on, ib. 123
Book I. ib. 27
II. ib. 49
III. ib. 73
IV. ib. 98
Georgione, character of, xvii, 492
German jollity, xi, 44
Giants’ war, xii, 69
Gibbon’s account of his conversion to the Catholic faith,
i, 316
character of Pope Nicholas V. xviii, 24
account of the murder of Lucian, ib. 57
Gilbert, Dr William, account of, xi, 15
Goa, description of, xvi, 71
Godfrey, Sir Edmondbury, account of, ix, 285
Golden age, from Ovid, xii, 66
Government of Japan, xvi, 291
Gracioso, or buffoon, what, i, 77
Grafton, Duke of, account of, ix, 396
Graham, James, vide Dundee, Viscount
Granville, George, poetical epistle to, xi, 64
remarks on, xi, 63
Great Favourite, answer to the preface of the, ii, 265
Grecian dramas, plot of, xv, 313
Greek satirical drama, and the satirical poetry of the
Romans, distinction between, xiii, 47
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebooknice.com

You might also like