Month: October 2021

Examining the dataset

Throughout this course, you’ll be analyzing a dataset of traffic stops in Rhode Island that was collected by the Stanford Open Policing Project. Before beginning your analysis, it’s important that you […]...

Exploratory Data Analysis in Python

1: Exploring the NSFG data To get the number of rows and columns in a DataFrame, you can read its shapeattribute. To get the column names, you can read the columns attribute. The […]...

Writing Functions In Python

Crafting a docstring You’ve decided to write the world’s greatest open-source natural language processing Python package. It will revolutionize working with free-form text, the way numpy did for arrays, pandas did for tabular data, […]...

Working with dates and times in python

Which day of the week? Hurricane Andrew, which hit Florida on August 24, 1992, was one of the costliest and deadliest hurricanes in US history. Which day of the week […]...

Intermediate Importing Data in Python

Importing flat files from the web: your turn! You are about to import your first file from the web! The flat file you will import will be 'winequality-red.csv' from the University of […]...