Analytics
Analytics
Analytics
Output:
df.isnull().sum()
df.dropna()
df.fillna('value')
Code :
D={'Name':['shivam','ron','Ram','Robert','Rina','Henry'],'Age':[24,67,19,28,21,30],'City':['goa',
'behraich','dholakpur','bhotakpur','pehalvanpur','gurgao'],'Laptop':['H.
P','Lenevo','MAC','Dell','Asus','Acer']}
df=pd.DataFrame(D)
D={'Name':['shivam','ron','Ram','Robert','Rina','Henry'], 'A':[30,35,17,73,12,20],
'place':['Mumbai','Lucknow','Disney','Barabanki','Kanpur','Hyderabad'],'Food':['Chola','Puri','
Samosa' ,'Coconut','Khasta','Cake']}
df_new = pd.DataFrame(D)
Merge=pd.merge(df,df_new,on="Name",how="inner")
Output:
import numpy as np
x = [1,2,5,7,9]
y = [ 6,7,3,0,5]
plt.plot(x,y,marker='P' , mfc= 'red',mec="blue",ls="--" ,lw=2, ms=10)
plt.title("Plotting")
plt.xlabel("x-axis")
plt.ylabel("y-axis")
Output:
colors=[10,20,30,40,50,60,70,80,90,100]
plt.scatter(o,p,c=colors,cmap='Accent')
plt.colorbar()
plt.xlabel("Strength")
plt.ylabel("Units")
plt.title("Graph")
plt.show()
Output:
q=np.array([5,2,7,10])
p=np.array([75,34,23,12])
plt.subplot(3,2,2)
plt.plot(q,p,"o--",mfc="green")
q=np.array([54,23,54,87])
p=np.array([20,10,8,6])
plt.subplot(3,2,3)
plt.plot(q,p,"o:",mfc="brown")
q=np.array([76,87,45,65])
p=np.array([1000,100,10,0])
plt.subplot(3,2,4)
plt.plot(q,p,"o-",mfc="black")
q=np.array([4,5,8,10])
p=np.array([54,65,87,98])
plt.subplot(3,2,5)
plt.plot(q,p,"o--",mfc="blue",lw=2,color="red")
plt.subplot(3,2,6)
plt.plot(q,p,"o:",mfc="brown")
plt.show()
Output:
Aim :-
A:Create a report from the sample data source data set using IBM Cognos.
Working/Perform: -
Open IBM Cognos
Launch Cognos Analytics on Cloud for Students
Click on New and Select Report
Create a blank template
Click on Source and select a sample dataset (Great Outdoor data module)
Add relevant parameters in rows and columns and run the report.
Steps:-
1. Launch Cognos Analytics on Cloud.
4. Choose the Select Source option and open the Great Outdoor data module
Output:
3. Choose the Select Source option and select the personal uploaded data file.
Aim:-
A:Create a report using filters, detail filter on fact data in a report.
1. Drag and drop tables from the data module to the query pane.
2. Select columns (fields) to include in your report.
5. Click "Ok".
Output:
Aim :
A : Create a gauge report and a pie chart report.
Step 2:
a) Now Select Table of 1 rows and 2 column.
b) And now select the source .
c) In first table select Visualization , then select Chart from drop down menue.
Step2:
i. Select List from Widget Type .
ii. Select source .
iii. Fill the items.
Then select ok
Steps :
Open Microsoft Office Excel
Go to blank Workbook .
Import Data.
Steps :-
Open Microsoft Office Excel
Go to blank Workbook .
To format any table , Just select the row or column which you want to format and then just
click on Conditional Formatting , Present on Home tab.
To Analysis the data , there is an option of Filter which is present on DATA tab .
Click on any section present on your Data then select Drop down Section .
You will observe that filter is has been done and only those value will show which are been
filtered.