1
2import pandas as pd
3import numpy as np
4
5#Create a DataFrame
6d = {
7 'Name':['Alisa','Bobby','Cathrine','Madonna','Rocky','Sebastian','Jaqluine',
8 'Rahul','David','Andrew','Ajay','Teresa'],
9 'Score1':[62,47,55,74,31,77,85,63,42,32,71,57],
10 'Score2':[89,87,67,55,47,72,76,79,44,92,99,69],
11 'Score3':[56,86,77,45,73,62,74,89,71,67,97,68]}
12
13df = pd.DataFrame(d)
14answer= df.std()
15print("The standard deviations of the 3 columns are:")
16print (answer)