Skip to Main Content
Hands-On Application Development with PyCharm
book

Hands-On Application Development with PyCharm

by Quan Nguyen
September 2019
Beginner to intermediate content levelBeginner to intermediate
494 pages
13h
English
Packt Publishing
Content preview from Hands-On Application Development with PyCharm

Using charts and graphs

One of the most common ways to visualize a dataset is through bar charts. The idea is that, if we have an attribute that could only contain a specific set of values, seeing the distribution of the counts of those unique values could give us an insight into which factor could affect the dependent variable we are interested in (in this case, it is whether a person has Parkinson's or not).

But first, we will use bar charts to visualize the amount of missing data we have in our current dataset:

#%%missing_data = combined_user_df.isnull().sum()g = sns.barplot(missing_data.index, missing_data)g.set_xticklabels(labels=missing_data.index, rotation=90)plt.show()

Running this code cell should produce the following visualization: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

MASTERING PYCHARM

MASTERING PYCHARM

Nafiul Islam

Publisher Resources

ISBN: 9781789348262Supplemental Content