Q. Write code snippet to create histogram only for column "Agg" from DataFrame mdf.
Answer :-
import pandas as pd import matplotlib.pyplot as pl mdf=pd.DataFrame({'agg':[18,7,6,9,44,41],'score':[10,20,30,10,5,8]}) mdf.hist(column="agg") pl.show()
Answer :-
import pandas as pd import matplotlib.pyplot as pl mdf=pd.DataFrame({'agg':[18,7,6,9,44,41],'score':[10,20,30,10,5,8]}) mdf.hist(column="agg") pl.show()
Where is the answer...
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )