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

sa 11 ip chapter 12

1. Predict the output of following code fragments one by one. For every next code fragment, consider that the changes by previous code fragment are in place. That is, for code fragment (b), changes made by code fragment (a) are persisting ; for (c), changes by (a) and (b ) are persisting and so on.

sa 11 ip chapter 12 / PythonCSIP CS IP

(a) import pandas as pd columns =[‘2015’, ‘2016’, ‘2017’, ‘2018’] index=[‘Messi’,’Ronaldo’,’Neymar’,’Hazard’ ] df = pd.DataFrame(columns=columns, index=index) print(df) # No values inserted, so all of them are nan df.to_csv(“c:\one.csv”) # Output 2015 2016 2017 2018 Messi NaN NaN NaN NaN Ronaldo NaN NaN NaN NaN Neymar NaN NaN NaN NaN Hazard NaN NaN NaN NaN (b) […]

1. Predict the output of following code fragments one by one. For every next code fragment, consider that the changes by previous code fragment are in place. That is, for code fragment (b), changes made by code fragment (a) are persisting ; for (c), changes by (a) and (b ) are persisting and so on. Read More »

10. What additional argument do you need to specify in to_sql() so that old data of SQL table is retained ?

sa 11 ip chapter 12 / PythonCSIP CS IP

10. What additional argument do you need to specify in to_sql() so that old data of SQL table is retained ? Read More »

Post pagination
← Previous 1 2 3 … 11 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 © 2025 Pooja Bhatia Classes Hari Nagar | Powered by Pooja Bhatia Classes Hari Nagar.