What will be the output of the following code
import pandas as pd
marksinfo={'Name':['Deepak','Ram','Deepa','Zira'],
'Maths':[2,11,14,20],
'Science':[21,2,9,7],
'Hindi':[20,26,4,14],
'Eng':[21,24,3,19]
}
df=pd.DataFrame(marksinfo)
print(df[:2].sum())
1
Name DeepakRamDeepa
Maths 27
Science 32
Hindi 50
Eng 48
dtype: object
2
Name DeepakRamDeepaZira
Maths 47
Science 39
Hindi 64
Eng 67
dtype: object
3
Name DeepakRam
Maths 13
Science 23
Hindi 46
Eng 45
dtype: object
4
None of the above