Professional Documents
Culture Documents
EXTENDED
Calculating Quartile
• >>>df[['Maths','Science','S.St','Hindi','Eng']].var()
Calculating Standard Deviation
• >>> df.describe()
• Display (count, min, max, std, 25%, 50%, 75%, mean)
Data Aggregations
• The above command will sort the entire data on the basis of attribute ‘Name’,
>>> dfUT2 = df[df.UT == 2]
>>> print(dfUT2.sort_values(by=['Science'])]