0

PANDAS: Get data of students with marks<40 in more than 6 subjects out of 15 subjects

Given a dataframe with Students details. Details include total 21 columns:- I'd, name, class, age,15 columns for MARKS IN 15 different subjects, Total marks and Grade. So how to get data of students with marks<40 in more than 6 subjects out of 15 subjects using pandas.

27th May 2019, 3:10 PM
Shivam Tewari
Shivam Tewari - avatar
1 Réponse
0
Shivam Tewari Df[Df['marks']<40] Customize the record according to your requirement.. Follow Instagram page: anonymous_me_0000
1st Mar 2022, 5:35 AM
B.VIDYADHAR VIJJU
B.VIDYADHAR VIJJU - avatar