Skip to content
Pooja Bhatia Classes Hari Nagar
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
Pooja Bhatia Classes Hari Nagar

Author name: PythonCSIP CS IP

17. From the dataframe object created in previous question, write a script to calculate :

sa 11 ip chapter 11 / PythonCSIP CS IP

17. From the dataframe object created in previous question, write a script to calculate : Read More »

16. Four series objects Tempi, Temp2, Temp3 and Temp4 store the temperatures of week1, week2, week3 and week4 respectively. Create a dataframe from these four series objects where the indexes should be ‘Sunday’, ‘Monday’, … , ‘Saturday’, and columns should be ‘Week1’, ‘Week2’, ‘Week3’ and ‘Week4’.

sa 11 ip chapter 11 / PythonCSIP CS IP

import pandas as pd Temp1 = pd.Series([98, 99, 99, 96, 90, 94, 95]) Temp2 = pd.Series([92, 96, 92, 93, 97, 93, 93]) Temp3 = pd.Series([93, 91, 94, 96, 95, 92, 90]) Temp4 = pd.Series([95, 90, 99, 95, 96, 91, 95]) df = pd.DataFrame({‘Week1’:Temp1, ‘Week2’:Temp2, ‘Week3’:Temp3, ‘Week4’:Temp4}) # Adding each Series as a column in our

16. Four series objects Tempi, Temp2, Temp3 and Temp4 store the temperatures of week1, week2, week3 and week4 respectively. Create a dataframe from these four series objects where the indexes should be ‘Sunday’, ‘Monday’, … , ‘Saturday’, and columns should be ‘Week1’, ‘Week2’, ‘Week3’ and ‘Week4’. Read More »

Post pagination
← Previous 1 … 332 333 334 … 554 Next →
  • We teach following classes
    • Class 12
    • Class 11
    • Class 10
    • Class 9
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship
  • We teach following classes
  • Sumita Arora IP/CS Solutions
  • Jobs/Internship

Copyright © 2026 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.