I want to create a data frame that only includes av_rating for the title - "Law & Order: Special Victims Unit" from the following CSV file. How can I do that? The following code is giving me the same data as subset instead of just giving only for the title "Law & Order: Special Victims Unit"
import pandas as pd
ratings = pd.read_csv("http://becomingvisual.com/python4data/tv.csv")
ratings
subset = ratings[["title", "av_rating"]]
subset
for i in subset["title"]:
if i == "Law & Order: Special Victims Unit":
subset_1 = subset[["title", "av_rating"]]
subset_1