Computer Science · Data Science with Python
Consider the given Pandas DataFrame 'df4': Index | NAME | PERIODIC | ENG | MATHS | SCIENCE 12 | MEENA | 1 | 40 | 60 | 80 17 | REENA | 2 | 60 | 30 | 10 18 | TEENA | 3 | 80 | 60 | 40 20 | SHEENA | 2 | 90 | 20 | 70 Select the correct command to get the following output: NAME: MEENAREENATEENASHEENA PERIODIC: 8 ENG: 270 MATHS: 170 SCIENCE: 200
- 1print(df4.count(numeric_only=True))
- 2print(df4.sum())✓
- 3print(df4.sum(axis=1))
- 4print(df4.sum(numeric_only=True))
Correct answer
print(df4.sum())
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Data Science with Python?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Data Science with Python