Using string methods in pandas

In this section, we will learn about using various string methods on a pandas series. We will read a real dataset into pandas. We'll explore some of the string methods, and we will use these string methods to select and change values from our dataset.

We will start by importing the pandas module and reading the dataset of house prices from zillow.com into the Jupyter Notebook:

data = pd.read_table('data-zillow.csv', sep=',')data.head()

The following is the output:

Get Mastering Exploratory Analysis with pandas now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.