Question: 2. Choose the correct answer twhich of the following python code will count the unique values of columns ' c ': i. data.c.valueCounts() ii. data.c.counts()
2. Choose the correct answer twhich of the following python code will count the unique values of columns ' c ': i. data.c.valueCounts() ii. data.c.counts() iii. data[l'a',"b'] ].value_counts() iv. data.c.value_counts() 3. Choose the correct answer :what is the output of the following python code data.isnull().sum()>0 : i. Display count of nulls in Dataframe ii. Display list of columns with True (in case has nuli), False (in case hasn't null) iii. Display list of columns with False(in case has null), True(in case hasn't null) iv. Display count of nulls in each column in Dataframe 4. Complete the following twrite a python code to display first 3, and last 2 rows from DataFrame: Question 3: (3 Points) (CLO\#:2.2) (SO\#: 3-4) a) Which of the following True/False and correct if False (1.5 Points) b) Answer only 3 points from following 4 points (1.5 Points) 1. Choose the correct answer swhich chart should be used to display frequency distributions of age feature (from heart disease dataset) i. Line charts ii. Histogram iii. Heatmap chart iv. Scatter plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
