Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Practical Data Science with Python
  • Table Of Contents Toc
Practical Data Science with Python

Practical Data Science with Python

By : Nathan George
4.8 (19)
close
close
Practical Data Science with Python

Practical Data Science with Python

4.8 (19)
By: Nathan George

Overview of this book

Practical Data Science with Python teaches you core data science concepts, with real-world and realistic examples, and strengthens your grip on the basic as well as advanced principles of data preparation and storage, statistics, probability theory, machine learning, and Python programming, helping you build a solid foundation to gain proficiency in data science. The book starts with an overview of basic Python skills and then introduces foundational data science techniques, followed by a thorough explanation of the Python code needed to execute the techniques. You'll understand the code by working through the examples. The code has been broken down into small chunks (a few lines or a function at a time) to enable thorough discussion. As you progress, you will learn how to perform data analysis while exploring the functionalities of key data science Python packages, including pandas, SciPy, and scikit-learn. Finally, the book covers ethics and privacy concerns in data science and suggests resources for improving data science skills, as well as ways to stay up to date on new data science developments. By the end of the book, you should be able to comfortably use Python for basic data science projects and should have the skills to execute the data science process on any data source.
Table of Contents (30 chapters)
close
close
1
Part I - An Introduction and the Basics
4
Part II - Dealing with Data
10
Part III - Statistics for Data Science
13
Part IV - Machine Learning
21
Part V - Text Analysis and Reporting
24
Part VI - Wrapping Up
28
Other Books You May Enjoy
29
Index

Using EDA Python packages

Sometimes it's helpful to create some specific EDA plots and statistics to investigate features of interest, but often, it's helpful to run an auto-EDA package on our data as one of our first steps. There are a host of different EDA packages in Python (and R), but we'll stick to just covering pandas-profiling. This is a convenient package that creates an EDA summary with only a few lines of code from a pandas DataFrame. Once we have our data loaded, we load the ProfileReport function from pandas-profiling:

from pandas_profiling import ProfileReport

Since dashes are not allowed in module names, we need to use an underscore for the library name, pandas_profiling. Once we have this loaded, we can create our report and display it:

report = ProfileReport(df)

Within Jupyter Notebook, we have a few options for display. We can simply print out the variable in a Jupyter Notebook cell like so:

report

Or, we can use report.to_widgets...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Practical Data Science with Python
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

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

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon