O'Reilly logo

Learn Data Analysis with Python: Lessons in Coding by Dave Wolf, A.J. Henley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© A.J. Henley and Dave Wolf 2018
A.J. Henley and Dave WolfLearn Data Analysis with Pythonhttps://doi.org/10.1007/978-1-4842-3486-0_5

5. Visualizing Data

A. J. Henley and Dave Wolf2
(1)
Washington, D.C., District of Columbia, USA
(2)
Sterling Business Advantage, LLC, Adamstown, Maryland, USA
 

Data Quality Report

When you have looked at enough datasets, you will develop a set of questions you want answered about the data to ascertain how good the dataset is. This following scripts combine to form a data quality report that I use to evaluate the datasets that I work with.
# import the data
import pandas as pd
Location = "datasets\gradedata.csv"
df = pd.read_csv(Location)
df.head()
df.mode().transpose()
Listing 5-1
Load Dataset from CSV
data_types = pd.DataFrame(df.dtypes, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required