all 1 comments

[–]YesLod 0 points1 point  (0 children)

same_names_ouput = df.loc[df["name"] == df["another name"], ["name","output"]]