Anjali Aksa Janani
Anjali Aksa Janani
1 JALAHALLI
WEST, BANGALORE
A PROJECT REPORT
ON
GLOBAL WARMING
FOR
CBSE 2023 EXAMINATION
[AS A PART OF THE INFORMATICS PRACTICES (065)]
DONE BY
K. ANJALI
AKSA CHACKO
JANANI. S
………………..………………. ………………..……………….
Signature of principal Signature of teacher/ guide
Designation: (Comp.Sc.)
ACKNOWLEDGEMENT
import pandas as pd
Jan={'min(C)':-29.6,'max(C)':-26,'mean(C)':-27.8,'min(F)':-21,'max(F)':-
15,'mean(F)':-18}feb={'min(C)':-43.1,'max(C)':-37.9,'mean(C)':-40.5,'min(F)':-
46,'max(F)':-36,'mean(F)':-40.9}
mar={'min(C)':-56.7,'max(C)':-49.6,'mean(C)':-53.2,'min(F)':-70,'max(F)':-
57,'mean(F)':-63.7}
apr={'min(C)':-60.9,'max(C)':-53,'mean(C)':-57,'min(F)':-78,'max(F)':-63,'mean(F)':-
70.5}may={'min(C)':-61.5,'max(C)':-53.6,'mean(C)':-57.6,'min(F)':-79,'max(F)':-
64,'mean(F)':-71.6}
jun={'min(C)':-62.8,'max(C)':-54.5,'mean(C)':-58.6,'min(F)':-81,'max(F)':-
66,'mean(F)':-73.6}
jul={'min(C)':-63.4 ,'max(C)':-55.2,'mean(C)':-59.3,'min(F)':-82,'max(F)':-
67,'mean(F)':-74.7}
aug={'min(C)':-63.2,'max(C)':-54.9,'mean(C)':-59,'min(F)':-82,'max(F)':-
67,'mean(F)':-74.3}
sep={'min(C)':-61.7,'max(C)':-54.4,'mean(C)':-58,'min(F)':-79,'max(F)':-
63,'mean(F)':-72.5}
oct={'min(C)':-54.3,'max(C)':-48.4,'mean(C)':-51.4,'min(F)':-66,'max(F)':-
55,'mean(F)':-60.7}
nov={'min(C)':-40.1,'max(C)':-36.2,'mean(C)':-38.2,'min(F)':-40,'max(F)':-
33,'mean(F)':-36.7}
dec={'min(C)':-29.1,'max(C)':-26.3,'mean(C)':-27.7,'min(F)':-20,'max(F)':-
15,'mean(F)':-17.9}
yr={'min(C)':-52.2,'max(C)':-45.9,'mean(C)':-48.95,'min(F)':-62,'max(F)':-
50.5,'mean(F)':-56}
mnt=[jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec,yr]
df=pd.DataFrame(mnt,index=['january','febraury','march','april','may','june','july','
august','september','october','november','december','year'])
print(df)
# graph
import matplotlib.pyplot as pl
import numpy as np
import pandas as pd
delhi=[108,113,99,85,96]
mub=[54,45,45,40,45]
hy=[50,45,39,35,38]
kol=[76,85,60,45,60]
bang=[31,34,30,25,29]
chen=[40,43,35,26,25]
index=['2017','2018','2019','2020','2021']
x=np.arange(len(index))
pl.bar(index,delhi,width=0.12)
pl.bar(x+0.12,mub,width=0.12)
pl.bar(x+0.24,hy,width=0.12)
pl.bar(x+0.36,kol,width=0.12)
pl.bar(x+0.48,bang,width=0.12)
pl.bar(x+0.60,chen,width=0.12)
pl.xlabel('years')
pl.ylabel('pollution')
pl.title('pollution in cities in 5 years')
pl.legend(['delhi','mumbai','hydrabad','kolkata','bangalore','chennai'])
from google.colab import files
pt.savefig('pollution in cities')
files.download('pollution in cities.png')
pl.show()
#DATAFRAME
dd={'delhi':
delhi,'mumbai':mub,'hydrabad':hy,'kolkata':kol,'bangalore':bang,'chenn
ai':chen}
df=pd.DataFrame(dd,index=[index])
print(df)
#DATAFRAME
import pandas as pd
con={'contries':countries,'pollution':pollution}
df=pd.DataFrame(con,index=[1,2,3,4,5,6,7,8,9,10,11,12])
dd=df.sort_values(by=['pollution'],ascending=False)
print(dd)
Output
CONCLUSIONS
“GLOBAL WARMING”
has been prepared to reduce manual work and
with the help of this project all the work can be
done automatically in a fast manner.
BIBLOGRAPHY
In order to work on this project titled – GLOBAL
WARMING the following books and literature are
referred by me during the various phases of
development of the project.
1. NCERT Informatics Practices Class XII
2. Online Help of python ®
3. Google colab
4. Informatics practices for class XII-by Sumita
Arora
5. Informatics practices for class XI-by Sumita Arora
6. http://www.python.org/
7. https://www.geeksforgeeks.org/
8. http://stackoverflow.com/
9. www.google.com
Other than the above-mentioned books, the
suggestions and supervision of my teacher and my
class experience also helped me to develop this
project