Python Pandas - 2 || Type B || Sumita Arora || Class 12 || Information Practices || Solution
Note :- Please Click on Question to Answer of that Question !!!
Q16. Consider the following code that creates two dataframes:
ore1 = pd.DataFrame(np.array([[20,35,25,20], [11,28,32, 29]]), columns = ['iron', 'magnesium', 'copper', 'silver'])
ore2 = pd. Dataframe(np.array([[14, 34, 26, 26], [33, 19, 25, 23]]), columns = ['iron', 'magnesium', 'gold', 'silver'])
What will be the output produced by the following code fragments:
(a)
Q17. Consider the dataframe wdf as shown below.
(a) Write statement(s) to calculate minimum value for each of the columns.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )