Pandas Data Frame 101: Filtering Data, loc & iloc

K. N
DataDrivenInvestor
Published in
4 min readJan 12, 2021

--

(Image Source)

This article is a continuation to the first one, in which we learned how to create data frames and load data into data frames from CSV and Excel files.

In today’s tutorial, we will learn how to select data from a data frame. Let’s download stocks data from Yahoo Finance by clicking the download link on the page, which lets you download the data as a CSV file. This is historic…

--

--