NPTEL Python For Data Science Assignment 3 Answers 2023

NPTEL Python For Data Science Assignment 3 Answers 2023

Hello learners In this article we are going to discuss NPTEL Python For Data Science Assignment 3 Answers. All the Answers provided below to help the students as a reference, You must submit your assignment with your own knowledge and use this article as reference only.

About the course:-

The course aims at equipping participants to be able to use python programming for solving data science problems.

Assignment No.Answers
Python For Data Science Assignment 1 Click Here
Python For Data Science Assignment 2 Click Here
Python For Data Science Assignment 3 Click Here
Python For Data Science Assignment 4 Click Here
Python For Data Science Assignment 5 Click Here
Python For Data Science Assignment 6 Click Here
Python For Data Science Assignment 7 Click Here
Python For Data Science Assignment 8 Click Here
Python For Data Science Assignment 9 Click Here
Python For Data Science Assignment 10 Click Here
Python For Data Science Assignment 11 Click Here
Python For Data Science Assignment 12 Click Here

NPTEL Python For Data Science Assignment 3 Answers 2023:

1. Which of the following is the correct approach to fill missing values in case of categorical variable?

  • Mean
  • Median
  • Mode
  • None of the above

Assume a pandas dataframe df_cars which when printed is as shown below. Based on this information, answer questions 2 and 3.

Answer :- Will update answers soon and update on our telegram channel so Join Click Here

2. Of the following set of statements, which of them can be used to extract the column Type as a separate dataframe?

  • df_cars[[‘Type’]]
  • df_cars.iloc[[:, 1]
  • df_cars.loc[:, [‘Type’]]
  • None of the above
Answer :- 

3. The method df_cars.describe() will give description of which of the following column?

  • Car name
  • Brand
  • Price (in lakhs)
  • All of the above
Answer :- 

4. Which pandas function is used to stack the dataframes vertically?

  • pd.merge()
  • pd.concat()
  • join()
  • None of the above
Answer :- 

5. Which of the following are libraries in Python?

  • Pandas
  • Matplotlib
  • NumPy
  • All of the above
Answer :- 

6. Which of the following variable have null values?

  • ID
  • Company
  • Review
  • Date Rating
Answer :- 

7. Which of the following countries have maximum locations of cocoa manufacturing companies?

  • U.K.
  • U.S.A.
  • Canada
  • France
Answer :- 

8. After checking the data summary, which feature requires a data conversion considering the data values held?

  • Rating
  • Review date
  • Company
  • Bean origin
Answer :- 

9. What is the maximum rating of chocolates?

  • 1.00
  • 5.00
  • 3.18
  • 4.00
Answer :- 

10. What will be the output of the following code?

Answer:-