1 1 vote Consider the Pandas DataDrame df below. Filter it appropriately so that it outputs the shown results. gh owner language repo stars 0 pandas-dev python pandas 17800 1 tidyverse R dplyr 2800 2 tidyverse R ggplot2 3500 3 has2k1 python plotnine 1450 Expected Output gh owner language repo stars 0 pandas-dev python pandas 17800 Python Interview Questions data-science python data-cleaning data-manipulation dataframe pandas + – 22% Accept Rate Accepted 2 answers out of 9 questions interview 1.4k points 11 19 23 answer comment Share See 1 comment 1 1 comment reply Anas 150 points 2 2 4 commented Nov 28, 2021 reply flag Since it's the first row you can also do df.head(1). 0 0 replyShare Please log in or register to add a comment.
Best answer 1 1 vote df[(df["language"]=="python") & (df["stars"]>5000)] interview answered Dec 24, 2019 • selected Jan 21, 2020 by tofighi interview 1.4k points 11 19 23 comment Share 0 reply Please log in or register to add a comment.