# Module 2 labs might need some double checking?

**URL:** <https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721>\
**Category:** Python for Data Analytics\
**Tags:** week-module-2, coursera-platform\
**Created:** [April 15, 2025, 1:53am UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721 "2025-04-15T01:53:59Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsmel](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dsmel](https://community.deeplearning.ai/u/dsmel)\
**Post date:** [April 15, 2025, 1:53am UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/1 "2025-04-15T01:53:59Z")

</div>

Hey,

I’ve potentially found a few issues with some labs in this module. Of course, I could definitely be wrong, but I’d love if you guys could check this / help with the below:

I am not sure to attach any screenshots since it could have ‘spoilers’? I am sorry, this is the first time I am using this forum.

The main one is with the graded lab:  
I am a bit confused by which index to use in Exercise 9: Slicing the DataFrame.  
The blue text says something, but the comment says something else - also, I’ve got the expected output and apparently that is wrong?  
Some ‘expected outputs’ images are missing as well.

Another (not as relevant) example is from the Practice Lab: Buenos Aires Subway - Sorting and filtering  
Where it seems that the expected outputs weren’t sorted, but we sort the data as one of the first exercises of the lab.  
It seems to be causing an issue with the last exercise on that lab as well?

Another quick one with the last Graded Quiz - the question 8 might not be as accurate with the indexes - selecting from index 0 to 5 would’ve been 6 items whereas selecting from index 0 to 4 would be 5 items

Thanks!  
Davi

---

<div class="post-metadata">

**Author:** ![chris.favila](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chris.favila/32/126338_2.png) [@chris.favila](https://community.deeplearning.ai/u/chris.favila)\
**Post date:** [April 15, 2025, 3:29am UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/2 "2025-04-15T03:29:56Z")

</div>

Hi Davi, and welcome to the Forum! Thank you for reporting! We’ll check the module 2 assignment, lesson 2 practice lab, and quiz based on your feedback here. Will aim to resolve by today. Thanks again!

---

<div class="post-metadata">

**Author:** ![chris.favila](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chris.favila/32/126338_2.png) [@chris.favila](https://community.deeplearning.ai/u/chris.favila)\
**Post date:** [April 15, 2025, 4:45pm UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/3 "2025-04-15T16:45:51Z")

</div>

Hi Davi. Sorry there will be a slight delay in investigating the practice lab and quiz. Please give us the next 24 hours.

For the assignment, the code comment in exercise 9 has been updated. Good catch! The missing images for the other exercises have been uploaded as well.

If you got the expected outputs but the grader is not giving you the perfect score, can you send me your notebook via direct message? You can click on my name then the blue Message button to send a DM.

Thanks!

---

<div class="post-metadata">

**Author:** ![dsmel](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dsmel](https://community.deeplearning.ai/u/dsmel)\
**Post date:** [April 15, 2025, 9:40pm UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/4 "2025-04-15T21:40:24Z")

</div>

Hi Chris,

Thanks for the prompt reply!  
I should have time to conitnue the course this afternoon (I’m based in Australia) and let you know if the grading works for me now. I am having a great time going through the course!

Thanks,  
Davi

---

<div class="post-metadata">

**Author:** ![chris.favila](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chris.favila/32/126338_2.png) [@chris.favila](https://community.deeplearning.ai/u/chris.favila)\
**Post date:** [April 17, 2025, 1:59am UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/5 "2025-04-17T01:59:48Z")

</div>

Hi Davi! Hope the assignment is working for you now.

re: Practice Lab: Buenos Aires Subway - Sorting and filtering – Can you tell us which part you’re referring to? I checked and the outputs are returning results sorted by line and total\_PAX. That is the expected result. I’m thinking you might have sorted by station name instead?

re: quiz – You’re right and it can indeed be a bit inaccurate. It’s now reworded. Thanks for catching that!

---

<div class="post-metadata">

**Author:** ![dsmel](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@dsmel](https://community.deeplearning.ai/u/dsmel)\
**Post date:** [April 17, 2025, 4:14am UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/6 "2025-04-17T04:14:45Z")

</div>

Hi Chris,

It is totally possible that I’ve sorted by the wrong feature, sorry about that!  
Thanks for fixing the quiz and lab - I’ve re-done the lab and it looks good now!

Thanks,  
Davi

---

<div class="post-metadata">

**Author:** ![hlinc1837](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@hlinc1837](https://community.deeplearning.ai/u/hlinc1837)\
**Post date:** [May 6, 2025, 2:52pm UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/7 "2025-05-06T14:52:16Z")

</div>

Coming to remark on the Module 2 lab as well (" Practice Lab: Buenos Aires Subway - Sorting and filtering"). The code solutions don’t correlate with Line E, right? They’re choose-your-own line? I think E is specified in the instructions though so maybe the solutions should align with E? I thought I was doing something wrong then realized, maybe their solutions aren’t built for line E.

---

<div class="post-metadata">

**Author:** ![chris.favila](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chris.favila/32/126338_2.png) [@chris.favila](https://community.deeplearning.ai/u/chris.favila)\
**Post date:** [May 7, 2025, 5:32pm UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/8 "2025-05-07T17:32:49Z")

</div>

Hi. Thank you for reporting. We’ll check this and update the notebook accordingly.

---

<div class="post-metadata">

**Author:** ![CamLiv8](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@CamLiv8](https://community.deeplearning.ai/u/CamLiv8)\
**Post date:** [May 11, 2025, 7:43pm UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/9 "2025-05-11T19:43:22Z")

</div>

Hi Chris, thank you very much for your email regarding module 2 lab: so far I can get 70/100- just cannot seem to crack Ex; 3, 4 & 10. Please help, and all of you have a nice day! Thanks Cam

---

<div class="post-metadata">

**Author:** ![chris.favila](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chris.favila/32/126338_2.png) [@chris.favila](https://community.deeplearning.ai/u/chris.favila)\
**Post date:** [May 11, 2025, 9:08pm UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/10 "2025-05-11T21:08:24Z")

</div>

Hi Camran, and welcome to the Forum! To keep the topics organized and to give the course Mentors the chance to assist, please create a new topic [here](https://community.deeplearning.ai/c/course-q-a/data-analytics-professional-certificate/dag-course-3/509). There’s a `New Topic` button on the upper right. Please include the title of the lab and the error messages you’re getting in the exercises (but please dont post solution code). Those messages are returned by the grader. That will help us in troubleshooting. Thank you!

---

<div class="post-metadata">

**Author:** ![CamLiv8](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@CamLiv8](https://community.deeplearning.ai/u/CamLiv8)\
**Post date:** [May 12, 2025, 12:39am UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/11 "2025-05-12T00:39:07Z")

</div>

Thanks Chris, for your assistance on the matter.

---

<div class="post-metadata">

**Author:** ![chris.favila](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/chris.favila/32/126338_2.png) [@chris.favila](https://community.deeplearning.ai/u/chris.favila)\
**Post date:** [May 12, 2025, 7:15am UTC](https://community.deeplearning.ai/t/module-2-labs-might-need-some-double-checking/800721/12 "2025-05-12T07:15:14Z")

</div>

No prob Camran. We’ll wait for your new topic with the details mentioned above so we can start to troubleshoot. Thank you.
