0% found this document useful (0 votes)
18 views81 pages

Practical Data Science with Jupyter: Explore Data Cleaning, Pre-processing, Data Wrangling, Feature Engineering and Machine Learning using Python and Jupyter (English Edition) Prateek Gupta pdf download

The document is a promotional overview of the book 'Practical Data Science with Jupyter' by Prateek Gupta, which covers essential data science concepts such as data cleaning, pre-processing, and machine learning using Python and Jupyter. It outlines the structure of the book, detailing the chapters that guide readers through various data science skills and practical applications. Additionally, it includes links to other related resources and books, as well as information about the author and acknowledgments.

Uploaded by

smaufdhp8785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views81 pages

Practical Data Science with Jupyter: Explore Data Cleaning, Pre-processing, Data Wrangling, Feature Engineering and Machine Learning using Python and Jupyter (English Edition) Prateek Gupta pdf download

The document is a promotional overview of the book 'Practical Data Science with Jupyter' by Prateek Gupta, which covers essential data science concepts such as data cleaning, pre-processing, and machine learning using Python and Jupyter. It outlines the structure of the book, detailing the chapters that guide readers through various data science skills and practical applications. Additionally, it includes links to other related resources and books, as well as information about the author and acknowledgments.

Uploaded by

smaufdhp8785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 81

Practical Data Science with Jupyter: Explore

Data Cleaning, Pre-processing, Data Wrangling,


Feature Engineering and Machine Learning using
Python and Jupyter (English Edition) Prateek
Gupta install download
https://ebookmeta.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-prateek-gupta/

Download more ebook from https://ebookmeta.com


We believe these products will be a great fit for you. Click
the link to download now, or visit ebookmeta.com
to discover even more!

Practical Python Data Wrangling and Data Quality:


Getting Started with Reading, Cleaning, and Analyzing
Data 1st Edition Susan E. Mcgregor

https://ebookmeta.com/product/practical-python-data-wrangling-
and-data-quality-getting-started-with-reading-cleaning-and-
analyzing-data-1st-edition-susan-e-mcgregor/

Learning Data Science: Data Wrangling, Exploration,


Visualization, and Modeling with Python 1st Edition Sam
Lau

https://ebookmeta.com/product/learning-data-science-data-
wrangling-exploration-visualization-and-modeling-with-python-1st-
edition-sam-lau/

Docker for Data Science Building Scalable and


Extensible Data Infrastructure Around the Jupyter
Notebook Server Cook

https://ebookmeta.com/product/docker-for-data-science-building-
scalable-and-extensible-data-infrastructure-around-the-jupyter-
notebook-server-cook/

A Guide to Gender 2nd Edition The Social Justice


Advocate s Handbook Sam Killermann

https://ebookmeta.com/product/a-guide-to-gender-2nd-edition-the-
social-justice-advocate-s-handbook-sam-killermann-3/
PDA 48 Settling the Paw 1st Edition Milly Taiden

https://ebookmeta.com/product/pda-48-settling-the-paw-1st-
edition-milly-taiden/

Education as Development: Deprivation, Poverty,


Dispossession 1st Edition Ramdas Rupavath (Editor)

https://ebookmeta.com/product/education-as-development-
deprivation-poverty-dispossession-1st-edition-ramdas-rupavath-
editor/

Witch Way Did She Go Silver Sisters 2 Paranormal Women


s Fiction 2nd Edition Jennifer L. Hart

https://ebookmeta.com/product/witch-way-did-she-go-silver-
sisters-2-paranormal-women-s-fiction-2nd-edition-jennifer-l-hart/

Handbook of Pain Medicine 2e 2nd Edition G P Dureja

https://ebookmeta.com/product/handbook-of-pain-medicine-2e-2nd-
edition-g-p-dureja/

Transscalar Critique Climate Blackness Crisis 1st


Edition Henry Ivry

https://ebookmeta.com/product/transscalar-critique-climate-
blackness-crisis-1st-edition-henry-ivry/
Practical Spring LDAP: Using Enterprise Java-Based LDAP
in Spring Data and Spring Framework 6 2nd Edition
Balaji Varanasi

https://ebookmeta.com/product/practical-spring-ldap-using-
enterprise-java-based-ldap-in-spring-data-and-spring-
framework-6-2nd-edition-balaji-varanasi/
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 :

[email protected]

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 [email protected] 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
[email protected] 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


Random documents with unrelated
content Scribd suggests to you:
McRae, Mrs., Sandfield O
McRae, Hugh, Strathburn O
McRae, Alex. E., Glennevis O
McRae, Donald, Burnstown O
McRae, Duncan, Bolsover O
McRae, Finlay, Lower Settlement Middle River, W. O. NS
McRae, Hector, Crawford O
McRae, William, Duncan O
McRae, C. J., Sierra O
McRae, Alex., Baddeck Bridge, W. O. NS
McTaggart, John, Kirkfield O
McVey, John, Dungiven, W. O. NB
McVicar, Miss C., Fort William O
McVicar, Morris, Wanstead O
McWilliams, Albert, Harold O
Macaulay, John, Venosta Q
Macdonald, John, Vellore O
Macdonald, D. A., Alexandria O
Macdonald, Norman, Addington Forks, W. O. NS
Macfadden, Urian, Edgecombe O
Machell, John, St. Sylvester Q
Mack, I. N., Mill’s Village NS
Mackay, William, Renfrew O
Mackay, Levi, Kinsale O
Mackelcan, G. I., Brisbane O
Millett, Benjamin, Marriott’s Cove, W. O. NS
Mackclean, G. J., Brisbane O
Mackereth, John, St. Canute Q
Mackey, Heli, Northfield, W. O. NS
Mackintosh, Henry B., Strathroy O
Macklem, J. S., Chippewa O
MacNider, John, Petit Métis Q
Maconchy, Thos., Gilford O
Macrea, George, St. Sylvester, East Q
Macready, A., Harriston O
Macy, J. F., Corbett O
Maddon, Hugh, Loughborough O
Mader, Jeremiah, New Canada, W. O. NS
Magoon, Aaron, Magoon’s Point Q
Maguire, John, Steep Creek, W. O. NS
Maguire, William, Franklin O
Maher, Philip, Richmond Station Q
Mahew, Robert, Renforth O
Main, William, Canterbury Station NB
Main, William, Cherry Creek O
Mair, Charles, Portage la Prairie M
Major, Charles, jun., Monte Bello Q
Major, Edward, Glen Major O
Maher, Thos., Pockmouche, W. O. NB
Malboeuf, Odile, Côte des Neiges Q
Malcolm, John, Jun., Cariboo Cove, W. O. NS
Mallet, H. S., Gilbert Cove NS
Mallet, N., Chateauguay Q
Malone, Timothy, Petersville, W. O. NB
Maloney, Ernest V., Fitch Bay Q
Mamely, Michael, East Hawkesbury O
Mann, William, Yarmouth Centre O
Manning, Johnson, Hebb’s Cross, W. O. NS
Mansfield, Geo., Cashmere O
Manson, David A., Mansonville-Potton Q
Manuel, C., Upper Haynesville, W. O. NB
Marchand, Edouard, St. Jérome Q
Marchment, Edwin, Rivière Trois Pistoles Q
March, David, Port Granby O
Marcotte, Joseph U., Ste. Anne de la Pe’rad Q
Marcoux, Isidore, Versailles Q
Marcoux, T., Cedars Q
Margeson, T. A., Margaretsville, W. O. NS
Marion, Joseph, St. Paul l’Hermite Q
Markham, Alfred, Markhamville, W. O. NB
Marks, Robert, Brucefield O
Marquis, P. C., St. André Q
Marsh, Jacob, Coldstream NB
Marsh, A., Consecon O
Marshall, James, Trout River Q
Marshall, W., Huntingdon Q
Marshall, Obiab, Washago O
Martel, Anthony, Cow Bay NS
Martell, Charles, Mira Gut, W. O. NS
Martin, E. B., Cedar Hall Q
Martin, Amasa, Martinville Q
Martin, Robert, Sydney NS
Martin, James, Belleville, W. O. NB
Martin, E. D., Warden Q
Martin, N. C., Upper Bedford Q
Martin, Octave, Avignon Q
Martin, Elie, St. Arsène Q
Martineau, J. E., St. Alphonse Q
Martyn, William, Enfield O
Mason, Mary, Donegal O
Mason, George, Beaulac Q
Mason, Charles, Beachville O
Mason, James, Drumquin O
Mason, Thomas, Johnston, W. O. NB
Masters, Wm., Upper Rawdon, W. O. NS
Masterson, Lackey, St. Andrew’s, West O
Mastin, I. B., Lavender O
Mather, James, Menie O
Mather, John, Otter Lake Q
Mather, John W., Fenello O
Matheson, George, Tavistock O
Matheson, D., Embro O
Matheson, J., St. Esprit, W. O. NS
Matheson, James, Lower L’Ardoise, W. O. NS
Matheson, W. H., Upper Woods Harbor, W. O. NS
Matthews, E. J., Flinton O
Matthews, J., Acton O
Matthieu, J. B., St. Urbain Q
Maudsley, Henry, Moorefield O
Maxwell, W. A., Head Lake O
May, Thomas, Long Island Locks O
May, James, Dundalk O
Mayberry, Richard, Maberly O
Mayrand, Z., St. Phillippe Q
Meacham, J. H., Belleville O
Meagher, Joseph, Carleton Q
Meecham, Eli, Elginburg O
Meek, Agnes, Alton O
Meen, Frederick, Greenwood O
Meikle, G. L., Lachute Q
Melançon, M., Port Acadia, W. O. NS
Melick, Jonas R., Warner O
Mellis, Robert, Kippen O
Mellon, Samuel H., Sillsville O
Mellow, W. J., Gretna O
Mellville, Andrew, Nottawa O
Menhennick, John, Putnam O
Mercier, H., St. Guillaume d’Upton Q
Mercier, Joseph, Ste. Hénédine O
Mercer, H. M., Lawrence Station, W. O. NB
Merritt, John, Pelham Union O
Messier, Ambrose, Belle Alodie Q
Mesner, F. X., Formosa O
Messer, John, Bluevale O
Metcalfe, Alfred, Roseneath O
Meunier, C., Starnesboro’ Q
Meunier, François, Canrobert Q
Meyer, George E., Glenmeyer O
Merzeroll, Nicholas, Point Sapin, W. O. NB
Michaud, B., Ste. Hélène Q
Michaud, Peter, St. Hilaire, W. O. NB
Michaud, Maximilian, Burrard’s Inlet BC
Michaud, Miss Adée, Notre Dame du Portage Q
Michener, Isaac, Lowbanks O
Middlemas, George, Caledonia Corner NS
Middleton, George, Wheatley O
Mignault, Joseph E., St. Dennis, River Richelieu Q
Milburn, John, Peabody O
Miles, George, Mouth of Keswick, W. O. NB
Milette, Benjamin, Wotton Q
Millar, James, Magnetawan O
Millar, Miss C. M., Drummondville East Q
Miller, Hugh, Glassville, W. O. NB
Miller, B. B., Wiarton O
Miller, Robert, Zimmerman O
Miller, M. G., Teviotdale O
Miller, James, Ulverton Q
Miller, James, St. Luce Q
Miller, John P., Carleton, W. O. NS
Miller, William, Peninsula, Gaspé Q
Miller, H. J., Corunna O
Miller, Hiram, Miller’s Creek, W. O. NS
Miller, Caleb, Mount Hanly, W. O. NS
Miller, Jonathan, Benmiller O
Miller, John, Blytheswood O
Miller, David W., Sumas BC
Miller, Peter, Switzerville O
Millett, Alexis, La Présentation Q
Millett, Edouard, St. George de Windsor Q
Milligan, Thos. J., Baltimore O
Millin, Arthur, Newcombe O
Millington, Joseph, Sydenham Place Q
Milloy, Colin, Newport O
Mills, Stephen, Lewisville, W. O. NB
Mills, Wm. B., Arden O
Mills, George E., Tedish, W. O. NB
Mills, George, Armstrong’s Corner, W. O. NB
Mills, G. C., Playfair O
Mills, John, Lorraine O
Milne, Alexander, Langford O
Milne, Thos., Copetown O
Milne, John, Agincourt O
Milner, Thomas, Parker’s Cove, W. O. NS
Milson, J. H., Whalen O
Milward, Thomas F., Stormont, W. O. NS
Miscampbell, Andrew, Allendale O
Mitchell, Mrs. M., Cook’s Brook, W. O. NS
Mitchell, Arthur, Fordwich O
Mitchell, David, Marie Joseph, W. O. NS
Mitchell, James, Mactaquack, W. O. NB
Mitchell, John, Metz O
Miville, Narcisse, Ste. Modeste Q
Moffatt, Alexander, Pembroke O
Moffatt, Henry, Pendleton O
Moffitt, Chas., Kinmount O
Moncion, L., Angers Q
Monkhouse, Joseph, Altona O
Monkman, John, Eagles Nest M
Monteith, Robert, Farquhar O
Montminy, T. St. Charles, River Boyer O
Mood, S. K., Lower Wood Harbor, W. O. NS
Moon, Robert J., Medonte O
Moore, Gilbert, Norwich O
Moore, P. C., Moore’s Station Q
Moore, Alexander, Mechanics’ Settlement, W. O. NB
Moore, John, Shinemicas Bridge NS
Moore, J. S., Upper Economy, W. O. NS
Moore, Mathias, Falkenburg O
Moore, Alfred, Carnarvon O
Moore, Thomas, Waubuno O
Moore, Simon, Burnt River O
Moran, Thomas, Maidstone O
Morden, W. H., North Port O
Morden, H J., Greensville O
Morgan, William, Pleasant Hill O
Morgan, Ira, Ormond O
Moriarty, James, Kinkora O
Morin, B., St. Isidore, Dorchester Q
Morin, A., St.. Roch des Aulnais Q
Morin, P., Bienville Q
Morin, Delphin, Chantelle Q
Morin, Alexis, Vauban Q
Morris, John H. Warwick O
Morris, David, Ste. Thérèse de Blainville Q
Morris, J. K., Rondeau O
Morris, R., Avening O
Morris, Nathan B., Advocate Harbor NS
Morris, Bernard, Summerville O
Morrison, R., Hawkesville O
Morrison, John, Wreck Cove, W. O. NS
Morrison, Alexander, Peveril Q
Morrison, R. B., Moriston O
Morrison, John, Moore O
Morison, Alice M., Upper Mills NB
Morrison, John, River Dennis Road, W. O. NS
Morrison, George, Poplar Hill, W. O. NS
Morrow, James, Fleetwood O
Morrow, John, Dacre O
Morrow, Joseph, Ratho’ O
Morse, John G., Sandy Cove NS
Morse, Francis E., Lowville O
Morton, E., Middlefield, W. O. NS
Morton, George, Penobsquis NB
Morton, James, Morton’s Corner, W. O. NS
Morton, William, St. Ola O
Mosa, James, Indian Point, W. O. NS
Mosher, Daniel, St. Croix, W. O. NS
Mosher, Joseph, Mosherville, W. O. NS
Moss, James, Port Maitland O
Mossip, John, Union Hill O
Mossman, Edward, Kingsbury, W. O. NS
Mott, Isaac, Blessington O
Mott, Amos, Central Cambridge, W. O. NB
Mowat, Andrew, St. Andrews M
Mowat, John, Deeside Q
Moyer, Moses, Breslaw O
Moyer, H. W., Campden O
Moyer, J. G., Bloomingdale O
Moxon, Thomas, Rawdon, W. O. NS
Mulkins, Henry, Simcoe O
Mulrine, Chas., Emigrant Road, W. O. NB
Mulvihill, Revd. J., St. Laurent M
Munro, Alex., Lanark O
Munro, John, Watson’s Corners O
Munro, William, West River NS
Munro, A., Boulardorie NS
Munro, William, Kilmaurs NS
Munro, John C., Grantley O
Munro, M., Munro’s, W. O. NS
Munsie, William, Nobleton O
Munsie, James, Caledon, East O
Murchie, Alex., Winthrop O
Murchie, Donald, Doyle Settlement, W. O. NB
Murchie, J. E., Benton, W. O. NB
Murchison, Hector, Grand River, W. O. NS
Murdoch, Mrs. Christy A., Cain’s River, W. O. NB
Muir, Michael, Sooke BC
Murphy, John, Mulmer O
Murphy, Patrick, Stoco O
Murphy, William, Sarnia O
Murphy, J., Waugh’s River, W. O. NS
Murphy, Patrick, Caldwell O
Murphy, Thos., Chipman’s Brook, W. O. NS
Murray, William G., Arnott O
Murray, John, Esquesing O
Murray, James, Hay O
Murray, John, Glen Murray Q
Murray, William, Ste. Brigide Q
Murray, John G., Port Richmond, W. O. NS
Murray, Joseph, Murray’s Corner, W. O. NB
Murray, Robert, St. Helen’s O
Murray, John, Spence’s Bridge BC
Mussells, William, Webber’s, W. O. NS
Musson, Thomas, Islington O
Mustard, John, Ashworth O
Mutchmore, J. T., Oneida O

Nagle, G. J., Rock Forest O


Naise, J. M., Mouth of Nerepis NB
Nation, J. C., Morpeth O
Naubert, Fernandez, St. Phillipe d’Argenteuil Q
Nauffts, John, Kent’s Island, W. O. NS
Neckerson, James A., Lower Ward, Ste. Marguerite’s Bay, NS
W. O.
Neelands, Abraham, Invermay O
Neff, John R., Troy O
Neiley, John C., Cambridge Station, W. O. NS
Neilans, Thomas, Harlock O
Nelles, H. E., Grimsby O
Nelson, N., North Salem, W. O. NS
Nelson, G. W., Dickson’s Store, W. O. NS
Nelson, John, Trafalgar, W. O. NS
Nelson, John, Ludlow, W. O. NB
Nethercott, John, Eden O
Newcomb, J. S., Upper Perreaux, W. O. NS
Newcomb, R. A., Bridgewater NS
Newcomb, W. F., Avonport Station, W. O. NS
Newell, John, Black Bank O
Newhall, Wilbert, Hunterstown Q
Newman, W. J., Morganston O
Newsome, George, Kilmarnock O
Newton, John, Limehouse O
Nickerson, E., Wood Harbor, W. O. NS
Nichol, Alexander, Jackson Road, W. O. NS
Nichol, Peter M., St. Mary’s O
Nichols, S. J., Berwick Station, W. O. NS
Nicholls, D., Nicholl’s Corner, W. O. NS
Nicholls, William, New Germany, W. O. NS
Nicholson, Donald, Barney’s River, W. O. NS
Nickerson, S. W., Shag Harbor, W. O. NS
Nicholson, A., Concord, W. O. NS
Nicklin, J., Morningdale Mills O
Nicol, John, Nicolston O
Nispel, Conrad, Preston O
Niven, Revd. Hugh, Herdman’s Corners Q
Noble, John, Park Hill O
Noble, Colin, Stornoway Q
Noble, Robert, Hardwicke, W. O. NB
Noonan, Daniel, North West Cove, W. O. NS
Norman, R. M., Mill Bridge O
Normandin, A., St. Jean Baptiste de Montréal Q
Normandin, Louis, Boucherville Q
Normansell, James, Kootenay BC
Northy, Richard, Selwyn O
Northy, William, Wilmur O
Northmore, Joseph, Cataraqui O
Nowlan, John G., Havelock, W. O. NS
Noxen, Richard, Hillier O
Nugent, Miss D., Grand Baie Q
Nugent, Mrs. C., West Quaco NB
Nutt, David, Nutt’s Corners Q
Nye, D. T. R., Philipsburg, East Q

Oaks, Albert, New Albany, W. O. NS


O’Brien, E. R., St. George NB
O’Brien, F. X., Repentigny Q
O’Brien, Osmond, Noel, W. O. NS
O’Brien, Margaret, Beauport Q
O’Connor, H. B. C., Riversdale O
Odell, W. H., Belmont O
O’Donell, R., Ferris, W. O. NB
O’Donnell, John, North Onslow Q
O’Flynn, E. D., Madoc O
Ogden, C. K., Three Rivers Q
Ogilvie, Henry, Long Point, W. O. NS
O’Heir, M., St. Gabriel de Brandon Q
O’Keif, Cornelius, Okanagon BC
O’Leary, Michael, West Newdy Quoddy NS
Oliver, A., Rockburn Q
Oliver, Edward, Ashburn O
Oliver, John, Dewitville Q
Olivier, Louis, Black River Station Q
Olmstead, Albert D., Aroostook, W. O. NB
O’Loane, L. T., Stratford O
O’Meara, James, Lombardy O
O’Meara, M., Navan O
O’Niel, Samuel, Grosvenor, W. O. NS
O’Neill, Michael, Downerville O
O’Neill, Thomas, Salmon River (Lake Settlement), W. O. NS
Orchard, John G., Orchard O
Ord, George, Ilderton O
Orman, George, Porter’s Lake, W. O. NS
Orr, Allen, Seaton O
Orr, James, Morrisbank O
Orr, James E., Lynden O
Osborne, Sydney, Renton O
Osbornes, J. B., Beamsville O
Osgood, W. A., St. John’s, East Q
Ostrander, G. A., Point Traverse O
Ostrom, Henry, Moira O
O’Sullivan, Cornelius, Meyersburg O
Ouellet, L., St. Onézime Q
Oulton, Thomas E., Westmoreland Point NB
Oulton, Thomas, Little Shemogue, W. O. NB
Outhouse, S., Wood Point, W. O. NB
Owen, Jenkins, Bernhill O
Owens, William, Stonefield Q
Oxner, Joseph, Lower La Have, W. O. NS

Pacaud, P. N., East Arthabaska Q


Packwood, George, Point St. Peter Q
Page, W. E., Métis Q
Page, Francis, Omineca BC
Pagé, Pierre, Les Ecureuils Q
Painchaud, F., Hochelaga Q
Palmer, Benjamin, Hilda O
Palmer, M. B., Hopewell Cape NB
Palmer, John, Morristown, W. O. NS
Palmer, F. L., Jacksontown, W. O. NB
Palmer, Ira, Balsam O
Palmer, Hanford, Anagance NB
Paon, Gilbert, West Arichat, W. O. NS
Paquette, J. B., St. Roch de Richelieu Q
Paquette, Louis, St. Augustin, Two Mountains Q
Paquette, F., Paquette Q
Paquet, Edward D., House Harbor (sub) Q
Paradis, Joseph E., St Constant Q
Paradis, Louis, junr., Valetort Q
Paradis, C., Ruisseau des Chénes Q
Paré, A. P., St. Bruno Q
Paré, H. P., St. Germain de Grantham Q
Parent, David C., Upper Queensbury, W. O. NB
Parent, Hermyle, Tessierville Q
Parent, J. C., Fox River Q
Parent, Isaiah, Bear Island, W. O. NB
Parent, Magloire, Kerry O
Parish, Arza, Farmersville O
Park, Ernest G., Amherstburgh O
Parker, John S., Ten Mile Creek, W. O. NB
Parker, Benjamin, Glasgow O
Parker, Robert, Kilbride O
Parker, J. M., Borwick NS
Parker, Nelson, Dexter O
Parker, Robert, Walmer O
Parker, John, Dunbarton O
Parker, Shutnel, Woodville, W. O. NS
Parry, H. H., Copleston O
Parsons, John, Crediton O
Passmore, Robert, Rockwood O
Paton, P., New Lowell O
Pattenoude, M., Stockwell Q
Patterson, W. C., Patterson O
Patterson, Thomas B., Smithurst O
Patterson, H., Steam Mill Village, W. O. NS
Patterson, David, Goose River NS
Patterson, David, Lower Barney’s River, W. O. NS
Patterson, Jane, Admaston O
Patterson, Samuel, Carthage O
Patterson, Ira H., An Lac, W. O. NB
Patterson, James C., Blantyre O
Pattison, Ambrose, Canfield O
Pattison, Robert, Walton O
Pattison, W. M., Frelighsburg Q
Paul, W. M., Roblin O
Payne, Manuel, Port Stanley O
Payne, Mrs. M., Charing Cross O
Peaker, John, Cooksville O
Pearce, J. B., Newton, W. O. NB
Pearce, Josiah W., Havelock O
Pearson, Thomas, Abingdon O
Peck, James H., Albury O
Peebles, Matthew, Strabane O
Pelletier, T. P., Trois Pistoles Q
Pelletier, J. B., Lac Noir Q
Pelletier, O., St. Roch l’Achigan Q
Pennock, Philemon, Elgin O
Pennock, John C., Castleton O
Penny, Edmund B., Garden River O
Pepin, dit Lachance, Emilien, St. François d’Orléans Q
Pequignol, Mrs. Nancy, West Chester Lake, W. O. NS
Percy, John, Bangor O
Pernette, C. R., Middle La Have Ferry, W. O. NS
Perré, J., Ste. Anne des Monts Q
Perrett, H. W., Perretton O
Perrin, John D., Bailieboro’ O
Perrin, William, Mount Vernon O
Perrott, Nathaniel, Shannonvale, W. O. NB
Perry, Calvin, Perryboro’ Q
Perry, Robert E., Bracebridge O
Petit, P. H., St. Damase Q
Petitclerc, Mrs. C., Bergeville Q
Petrey, W. B., Russell O
Petrie, David, Nuguac, W. O. NB
Petty, Charles, Cherry Wood O
Phair, James, Victoria Corners O
Phair, A. S., Fredericton NB
Phelan, M. J., St. Columbin Q
Phelps, Linius, W., Dickens O
Phillips, Edwin, Shiktehawk Bridge NS
Phillipps, Thomas, St. Pierre les Becquets Q
Phillipps, Mrs. Grace, River Philip NS
Phillips, Oran, Burns O
Phillips, Robert, Bennies Corners O
Phillips, William, Belfast O
Philpott, Edward, Foxboro’ O
Picotte, Chas., Lafontaine Q
Pierce, W. J., Malakoff O
Pierson, John, Milverton O
Pilcher, Thomas, Port Burwell O
Pim, Mrs., Sault Ste. Marie O
Pineo, J. P., Pineo Village NS
Pinkney, W. R., Sand Beach, W. O. NS
Pipes, Jonathan, Amherst Point, W. O. NS
Pitt, H., Pierreville Q
Pitt, William, senr., Pittson O
Plamondon, Edouard, St. Raymond Q
Plamondon, Anselme, St. Marcel Q
Planch, William G., Maple Leaf Q
Plant, William, Stanley, W. O. NB
Plante, Pierre, St. Bernard Q
Playfair, Elisha, Buckshot O
Plews, Simon, Salmonville O
Plinguet, Revd. V., Isle Dupas Q
Poaps, Jacob J., Oznabruck Centre O
Pointer, James E., Churchville O
Poirier, Joseph O., St. Jacques le Mineur Q
Poirier, J. A., St. Grégoire Q
Pollock, Solomon, Mille Isles Q
Pollock, Samuel, Nile O
Poole, Ambrose, Cedar Lake, W. O. NS
Ponds, Hazer, Marysville, W. O. NB
Pope, Charles E., Clinton BC
Pope, Lemuel, Robinson Q
Porte, William, Lucan O
Porter, Richard C., New Ireland Q
Porter, Henry, Cold Brook Station, W. O. NS
Porter, Leon, Eel Lake, W. O. NS
Porterfield, P., Marnoch O
Pothier, Francis, French Village Q
Potter, E. W., Smith’s Cove, W. O. NS
Potts, Edward, McIntyre O
Potvin, P., L’Anse au Foin Q
Polin, Hilaire, St. François, Beauce Q
Poulin, Louis, St. Etienne de Boulton Q
Powell, Henry, Wallenstein O
Powell, George A., Wroxeter O
Powley, Charles, Marchmont O
Pratt, John, New Ross NS
Pratt, James C., Second Falls, W. O. NB
Prefontain, Fulgence, South Durham Q
Prémont, Joseph, Ste. Famille Q
Prentiss, H. B., Chelsea Q
Prescott, Jesse, Pennfield, W. O. NB
Prescott, John, Goose Creek, W. O. NB
Price, W. W., Peticodiac NB
Pridham, Edward, Grenville Q
Prieur, Anicat B., Soulanges Q
Prieur, O. F., St Zotique Q
Prior, F. B., Wallbridge O
Pritchard, A., North Wakefield Q
Proctor, J. W., New Edinburgh O
Proctor, John, Leskard O
Prosser, Daniel, Belhaven O
Proudfoot, James, junr., Fenaghvale O
Prudhomme, Alex., Cantley Q
Ptolemy, William, Woodburn O
Pugsley, Daniel, Amherst Hill, W. O. NS
Pugsley, Michael, River Hebert, W. O. NS
Pugsley, William, Cheapside O
Purdy, Allan G., Greenville, W. O. NS
Purdy, C., Deep Brook, W. O. NS
Purdy, William, Pomona O
Purdy, Joseph Lawrence, Little River, W. O. NS
Purdy, David, Wallace River, W. O. NS
Purdy, Mrs. Mary J., West Chester, W. O. NS
Purdy, R. McLean, Eugenia O
Purkiss, Josiah, Thornhill O
Purney, John, Sandy Point, W. O. NS
Purington, Elijah, East Hereford Q
Purves, Robert, junr., Tatamagouche NS
Purves, ——, Kossuth O

Quance, Peter, Sydenham Mills O


Quance, Robert, Gravelotte O
Quarry, John G., Offa O
Quealy, John, Eganville O
Queenville, O., Cazaville Q
Quibell, John, Holt O
Quigley, Edmund, Beech Hill, W. O. NS
Quintin, dit Duboise, A., Action Vale Q
Quirk, Dennis, Glascott O

Racette, Jos., Ste. Julienne Q


Racey, Thos., Mohawk O
Radford, Joseph, Tadousac Q
Raiche, S. G. A., Clarence Creek O
Ralph, William S., Jasper O
Ramsey, Robert, Ramsey’s Corners O
Rand, George V., Wolfville NS
Randall, E. W., Bayfield, W. O. NS
Rankin, D., Sutherland’s River, W. O. NS
Rankin, Matthew, Falding O
Rannie, John, Allanburg O
Ranson, Robert, Deux Rivières Q
Ray, David, Hudson Q
Ray, Andrew, Upper Magaguadavic, W. O. NB
Ray, John, Glanmire O
Ray, Robert R., Factory Dale, W. O. NS
Raymond, S. P., Beaver River, W. O. NS
Raymond, Wm. S., Beaver River Corner NS
Raymond, David, N., Middle Simonds, W. O. NB
Raymond, George, Kouchibouguac NB
Raymond, Silas, Central Norton, W. O. NB
Raymond, Zephirim, St. Placide Q
Read, H. H., Milnesville O
Read, Eliphalet, Read, W. O. NB
Read, James, De Ramsey Q
Reading, Joseph, Cromarty O
Reardon, P., Pockshaw, W. O. NB
Redman, Edward, Lower Ireland Q
Redner, James, Rednersville O
Redpath, Geo., Effingham O
Redy, Benjamin, Gold River, W. O. NS
Reece, John R., Danby Q
Reed, Nathaniel, Mimosa O
Reed, William, Knatchbull O
Reed, James R., Carleton NB
Reed, James, Reedsdale Q
Reeve, George, Hornsey, W. O. NS
Reeve, Arthur, Atherley O
Regnier, P., St. Athanase Q
Reid, Donald, Harrington, West O
Reid, J. C., Vanatter O
Reid, James, Tweed O
Reid, Robert, Wanbaumik O
Reid, Thomas M., Moose Brook, W. O. NS
Reid, William, Ravenna O
Reid, G. B., Port George, W. O. NS
Reid, Minor, Upper New Horton, W. O. NB
Reid, James, Caledonia Settlement, W. O. NB
Reid, Thomas, Cascades Q
Reid, W. A., Avonport, W. O. NS
Reinhardt, John, Elmwood O
Remey, A., Tempo O
Rennells, William, Windsor Junction, W. O. NS
Renshaw, J., Blair O
Renton, Mrs. Ann, Renton O
Renwick, John, Inkerman O
Reynolds, William, Sarepta O
Reynolds, William, Mount Horeb O
Reynolds, W. R., Lepreaux O
Rhodes, William, Rhodes, W. O. NS
Richard, Lewis, Belliveaux Village, W. O. NB
Richards, Christopher, Frankville O
Richardson, John, Little Rocher NB
Richardson, George, Malone O
Richardson, Henry, Trudel O
Richardson, J., Valetta O
Richardson, Thos., Big Port le Bear, W. O. NB
Richardson, Samuel H., South Mountain O
Rickaby, Seth, Glenarm O
Ricker, R., Knowlesville NB
Riddell, James, Mohrs Corners O
Rigby, Miss Henrietta F., Sydney Mines NS
Rigby, Clara, Mainadieu, W. O. NS
Rimington, John, Rimington O
Ring, James, Panmure O
Riordon, John, Lower Woodstock, W. O. NB
Risteen, George, Lower French Village, W. O. NB
Ritchie, Frederick, Hamilton O
Rivard, F. X. A., St. Léon Q
Rivard, Miss M. E., Bécancour Q
Rivet, Narcisse, St. Brigitte des Saults Q
Roach, W., Grand Falls, Portage, W. O. NB
Roach, Robert Maccan, W. O. NS
Roberge, Louis, Ste. Julie de Somerset Q
Roberge, Damase, New Liverpool Q
Robert, Raymond, Sherrington Q
Robert, François, St. Hubert Q
Robert, Allenander, Dover South O
Roberts, J., Robert’s Island, W. O. NS
Robertson, Arch., Fox Harbor, W. O. NS
Robertson, John, Thomasburg O
Robertson, L., Port Jolly, W. O. NS
Robertson, S., Hollen O
Robertson, Daniel, Loch Lomond, W. O. NB
Robertson, William, Dalkeith O
Robbins, Ansell, Chebogue, W. O. NS
Robicheau, P., Lower Pocmouche, W. O. NB
Robinson, James, Upper Loch Lomond, W. O. NB
Robinson, W. S., Baillie, W. O. NB
Robinson, James, Selten O
Robinson, E. A., Goshen, W. O. NB
Robinson, Thomas, Newbury O
Robinson, R. D., Elgin NB
Robitaille, Louis, Ancienne Lorette Q
Roblin, Owen, Ameliasburgh O
Robson, John W., Vanneck O
Roch, N., St. Norbert Q
Roche, Edmund, Iona O
Rockingham, Joseph, Glenloyd Q
Rockwell, Aaron, Rockwell Settlement, W. O. NS
Roddick, John, Lyndhurst O
Roddy, James, Farran’s Point O
Rodell, Alexander, Comox BC
Rodgers, Robert D., Ashburnham O
Rodgers, Samuel A., Grouse Creek BC
Rodgerson, James, Shediac Road, W. O. NB
Roe, Frederick A., Woodbridge O
Roe, William, New Market O
Rogers, George, Lakefield Q
Rogers, H. C., Peterborough O
Rogers, James, Lower Coverdale, W. O. NB
Rogers, Patrick, Romans Valley, W. O. NS
Rogers, Thomas, Cedarville O
Rogers, John, Bearbrook O
Rogers, Joseph C., Fermoy O
Rombach, Ferdinand, Freigburg O
Ronald, J. R., West Glassville, W. O. NB
Rooney, P. J., Blyth O
Roop, Jas. P., Clementsport NS
Root, Daniel, Pittsferry O
Rorke, Thomas J., Heathcote O
Ross, Alexander, Turtle Lake O
Ross, Benjamin, Innisfil Q
Ross, Alexander, Gould Q
Ross, Alexander C., Victoria Mines, W. O. NS
Ross, D. G., Ross’ Corner, W. O. NS
Ross, Seth W., Farndon Q
Ross, James G., Maryvale, W. O. NS
Ross, James, Leith O
Ross, Thomas, Little Rideau O
Ross, Revd. D., Dundee Centre Q
Ross, M. G., Mill Brook, W. O. NS
Ross, John, North East Branch Margaree, W. O. NS
Ross, W., Dalhousie Settlement, W. O. NS
Ross, Donald, Blanchard Road, W. O. NS
Ross, H. S., Spring Hill Mines, W. O. NS
Rosser, B. H., Denfield O
Rothwell, A. T., Dwyer Hill O
Rouleau, Pierre D., Father Point Q
Rouse, Oliver C., Boston O
Rousseau, Godfroi, St. Monique Q
Rousseau, Onésime, St. Perpetue Q
Rousseau, Mdme. L. B., Château Richer Q
Routledge, William, Gardiner Mines, W. O. NS
Rowe, R., Brookbury Q
Roy, Norbert, Wolfstown Q
Roy, Adam, Maitland NS
Roy, Mrs. Mary, Normanton O
Roy, dit Lauzen, Vital, St. Fabien Q
Roy, Moyse, St. Malo Q
Roy, C., Armagh Q
Roy, M. E., Settrington Q
Roy, Telesphore, Cap Chat Q
Royal, Jacques, St. Sulpice Q
Royer, L. V., St. Claire Q
Ruddick, Margaret, Waiweig, W. O. NS
Rudolf, Josiah, Upper La Have, W. O. NS
Rudolph, Mrs. A. M., Lunenburg NS
Ruggles, B. H., Westport NB
Rupert, J. P., Maple O
Rusco, J. M., Centreville, W. O. NS
Rusk, Robert, Stockdale O
Russell, John R., Hopewell Hill, W. O. NB
Russell, James, Duntroon O
Russell, James, Whitney, W. O. NB
Russell, Wm., Mount Healey O
Russell, Wm., jun., Douglastown, W. O. NB
Rutherford, John, Tweedside, W. O. NB
Rutherford, William, Millbank O
Ruthven, Hugh, Ruthven O
Ryan, James, Middle Coverdale, W. O. NB
Ryder, Mrs. S., Argyle, W. O. NS
Ryerse, Wm. H., Port Ryerse O

Sabeans, Charleton, New Tusket, W. O. NS


Sadler, Robert, Byron O
Sager, Noah, Pigeon Hill Q
Salois, O., St. Bonaventure Q
Salter, W. M., Church Point, W. O. NB
Sanders, William, Exeter O
Sanderson, Joseph, Stirton O
Sanderson, L. D., Derry, West O
Sanderson, Thomas, Kilmanagh O
Sandford, Richard, Clementsvale, W. O. NS
Sandford, B., Summerville, W. O. NS
Sandford, I. S., Kennetcook, W. O. NS
Sanson, William, sen., Tay Mills, W. O. NB
Sargent, Alex., East Bolton Q
Saucier, J. L., St. Sauveur de Québec Q
Saucier, F., Macnider Q
Saunders, T. W., Prince William, W. O. NB
Saunders, Jas., Paisley O
Sauriol, Léon, St. Martin Q
Savageau, Rev. G. E., St. Tite des Caps (sub-office) Q
Savage, A. H., Savage’s Mill Q
Savage, Geo., Burnhamthorpe O
Savard, Joseph, Cap à l’Aigle (sub) Q
Savard, O., Point au Bouleau Q
Saxby, William, Shefford Mountain Q
Schnell, John, Cedar Grove O
Scholefield, William S., Sawyerville Q
Schmietendorf, J. T., Thompsonville O
Schneider, John, Hampstead O
Schooley, E. F., New Durham O
Schooley, Louisa, Arkona O
Schooley, Nelson, Oxford Centre O
Schwedfeger, Lewis, Hoasic O
Scidmore, R. P., Acacia O
Scisson, Samuel, South March O
Scott, Benjamin, Mingan Q
Scott, Hiram, North Gower O
Scott, Robert, Oustic O
Scott, James, Point Petre O
Scott, George, Mimico O
Scott, John, Stony Creek, W. O. NB
Scott, John, Thornton O
Scott, Richard, Wallace Bridge, W. O. NS
Scott, Mrs., Caistorville O
Scott, Morris, St. Nicholas Q
Scott, J. B., St. Timothée Q
Scott, John, Seneca O
Scott, W. J., jun., Batchewana O
Scovil, S. N., Portland O
Scribner, Elias, Mouth of Jemseg, W. O. NB
Seaman, Guilbert, Minadie, W. O. NS
Seaman, Amos, Lower Cove, W. O. NS
Seaman, A. J., Clifton, W. O. NB
Sears, Mrs. M., Lochaber, W. O. NB
Seaton, Benjamin, Abercorn Q
Secord, Josiah B., Varna O
Secord, John, jun., Long Creek NB
Selby, Benjamin, Stanbridge Station Q
Seely, Obadiah, Seely O
Segsworth, William, Monck O
Sellis, Jacob, Salmon Hole, W. O. NS
Setter, John, Park’s Creek M
Sewell, J. H., Port Lambton O
Shackleton, John, Colpoy’s Bay O
Shaffner, J. C., Lower Granville, W. O. NS
Shanklin, S. J., Shanklin, W. O. NB
Shannon, Thomas, Picton O
Sharp, Mrs. C. M., Sharp’s Bridge, W. O. NS
Sharp, William, Allenford O
Sharp, George J., Lower Hayneville, W. O. NB
Sharp, James, Ravenscliffe O
Shatford, Samuel, Head of St. Margaret’s Bay, W. O. NS
Shaver, E. N., Avonmore O
Shaver, F. C., Port Hoover O
Shaw, James, jun., Smith’s Falls O
Shaw, S. H., Hartland NB
Shaw, Mrs. J. E., Mount Denison, W. O. NS
Shaw, William, Shawbridge Q
Shaw, James, Clarendon Centre Q
Shaw, John B., Kent Bridge O
Shaw, John, jun., Lake Doré O
Shaw, Daniel, East side of West Branch, East River of Pictou, NS
W. O.
Shaw, John, Eastwood O
Shaw, John, Nipissingan O
Shawnwhite, James W., Terence Bay, W. O. NS
Shearer, George, Musselberg O
Shears, J., Clifton House (sub) O
Shehan, Terence, Salmon River, W. O. NS
Shehan, Thomas, Ironside Q
Sheldon, E. J., South Bay, W. O. NB
Shell, Alfred, Burgoyne O
Shell, Colin, Cashel O
Shepphard, John W., Normandale O
Shepphard, Joseph, Lansing O
Shepherd, S., Uttoxeter O
Sherman, Andrew, Wellman’s Corners O
Sherwood, Charles M., Lakefield, W. O. NB
Shibley, J. A., Yarker O
Shields, A., Avonton O
Shields, James, Trecastle O
Shields, James, Upper Maugerville, W. O. NB
Shields, Thomas, Galway O

You might also like