Class name Subject Book title Chapter number Content Created at
Class XII Informatics Practices Informatics Practices 3 http://archive.ics.uci.edu/ ml/machine-learning-databases/auto-mpg/. Following are the exercises to analyse the data. 1) Load auto-mpg.data into a ...
Class XII Informatics Practices Informatics Practices 4 C h a p t e r Plotting Data using Matplotlib “Human visual perception is the “most powerful of data interfaces between computers and Humans” — M. M...
Class XII Informatics Practices Informatics Practices 4 plt is an alias or an alternative name for matplotlib.pyplot. We can use any other alias also. Figure 4.1: Components of a plot The pyplot module o...
Class XII Informatics Practices Informatics Practices 4 output window and save the plot as an image. A figure can also be saved by using savefig() function. The name of the figure is passed to the functi...
Class XII Informatics Practices Informatics Practices 4 Program 4-2 Plotting a line chart of date versus temperature by adding Label on X and Y axis, and adding a Title and Grids to the chart. import mat...
Class XII Informatics Practices Informatics Practices 4 4.4 shows the list of colours that are supported. We can either use character codes or the color names as values to the parameter color in the plot...
Class XII Informatics Practices Informatics Practices 4 #plot using marker'-*' and line colour as green plt.plot(df.weight,df.height,marker='*',markersize=10,color='green ',linewidth=2, linestyle='dashdo...
Class XII Informatics Practices Informatics Practices 4 plot scatter Scatter plot In the previous chapters, we have learned to store different types of data in a two dimensional format using DataFrame. I...
Class XII Informatics Practices Informatics Practices 4 to "Mela Sales Report" plt.title('Mela Sales Report') # Label x axis as "Days" plt.xlabel('Days') # Label y axis as "Sales in Rs" plt.ylabel('Sales...
Class XII Informatics Practices Informatics Practices 4 and on Tuesday for Week 3. But, the lines are unable to efficiently depict comparison between the weeks for which the sales data is plotted. In ord...
Class XII Informatics Practices Informatics Practices 4 customisations on the bar chart of Figure 4.8 Program 4-7 Let us write a Python script to display Bar plot for the “MelaSales.csv” file with column...
Class XII Informatics Practices Informatics Practices 4 the height and weight values provided in the DataFrame, the plot() calculated the bin values. Figure 4.9: A histogram as output of Program 4-8 Repr...
Class XII Mathematics Mathematics Part-II 7 coin from bag II) = 0 P(A|E 3 = P(a gold coin from bag III) = Now, the probability that the other coin in the box is of gold = the probability that...
Class XII Informatics Practices Informatics Practices 4 to 2017” from the URL https://data.gov.in/resources/seasonal-andannual-minmax-temp-series-india-1901-2017. Our aim is to plot the minimum and maxim...
Class XII Informatics Practices Informatics Practices 4 when you want to show the relationship between two variables. Scatter plots are sometimes called correlation plots because they show how two variab...
Class XII Informatics Practices Informatics Practices 4 less than Mahi. To visualise this kind of data, we use quartiles. Quartiles are the measures which divide the data into four equal parts, and each ...
Class XII Informatics Practices Informatics Practices 4 60 43 55 52 71 Angelina 78 33 39 48 68 Angad Bedi 62 43 51 48 54 Program 4-14 Think and Reflect import numpy as np What would happen if import pand...
Class XII Informatics Practices Informatics Practices 4 title df.plot(kind='box',title='Compare Resorts') #set xlabel,ylabel plt.xlabel('Resorts') plt.ylabel('Rating (5 years)') #display the plot plt.sho...
Class XII Informatics Practices Informatics Practices 4 4-17 Let us consider the dataset of Table 4.10 showing the forest cover of north eastern states that contains geographical area and corresponding f...
Class XII Informatics Practices Informatics Practices 4 or an alternative name for matplotlib.pyplot. You can keep any alias of your choice. • The pyplot module houses functions to create a figure(plot),...
Class XII Informatics Practices Informatics Practices 4 plot: N otes Day 1 2 3 4 5 6 7 Tickets 2000 2800 3000 2500 2300 2500 1000 sold • Before displaying the plot display “Monday, Tuesday, Wednesday, Th...
Class XII Informatics Practices Informatics Practices 4 Wise literacy rate Download them and create a CSV file containing population data and literacy rate of the respective state. Also add a column Regi...
Class XII Informatics Practices Informatics Practices 5 C h a p t e r 5 Internet and Web “The internet could be a very positive step towards education, organisation and participation in a meaningful soci...
Class XII Informatics Practices Informatics Practices 5 large depending on the number of computers it connects. A computer network can include different types of hosts (also called nodes) like server, de...
Class XII Informatics Practices Informatics Practices 5 networks are broadly categorised as: • LAN (Local Area Network) • MAN (Metropolitan Area Network) • WAN (Wide Area Network) 5.2.1 Local Area Networ...