I try to understand below code. what we are doing here? why we have 2 tags inside[]
?
Thank you!
Screen Link: https://app.dataquest.io/m/469/guided-project%3A-popular-data-science-questions/10/just-a-fad
My Code:
associations.fillna(0, inplace=True)
for tags in questions["Tags"]:
associations.loc[tags, tags] += 1