Need help with this week’s assignment? Get detailed and trusted solutions for Python for Data Science Week 3 NPTEL Assignment Answers. Our expert-curated answers help you solve your assignments faster while deepening your conceptual clarity.
✅ Subject: Python for Data Science
📅 Week: 3
🎯 Session: NPTEL 2025 July-October
🔗 Course Link: Click Here
🔍 Reliability: Verified and expert-reviewed answers
📌 Trusted By: 5000+ Students
For complete and in-depth solutions to all weekly assignments, check out 👉 NPTEL Python for Data Science Week 3 NPTEL Assignment Answers
🚀 Stay ahead in your NPTEL journey with fresh, updated solutions every week!
NPTEL Python for Data Science Week 3 Assignment Answers 2025
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
Answer : See Answers
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 : See Answers
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?

- [bool, int, float, float, str]
- [str, int, float, float, str]
- [bool, int, float, int, str]
- [bool, int, int, float, str]
Answer :
11. What does df.info() provide?
- Summary of the DataFrame, including the number of non-null entries.
- The first 5 rows of the DataFrame
- The data types of the columns
- The correlation matrix of the DataFrame
Answer :
12. What will be the output of the following code?

- [1, 2]
- [1, 3, 5]
- [1, 2, 3, 4, 5]
- [5, 4, 3, 2, 1]
Answer : See Answers


