Data Analysis with Python Projects - Demographic Data Analyzer

Tell us what’s happening:

Describe your issue in detail here.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Challenge Information:

Data Analysis with Python Projects - Demographic Data Analyzer



It was working but now it shows me this message

You’ll need to enter pip install pandas into the shell command prompt (you will see a tab called “shell” or you can select “shell” from the tools menu to the left).

Also, the import statement does not go in the .replit file, you can remove that

Screenshot 2023-11-04 070653

1 Like

thank you but the problem is not solved


I’m a little confused, when I open this replit and run it, it works (although there are errors to solve):

https://replit.com/@Sofianechehboune/boilerplate-demographic-data-analyzer

======================================================================
FAIL: test_top_IN_occupation (test_module.DemographicAnalyzerTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/2363024149/test_module.py", line 57, in test_top_IN_occupation
    self.assertEqual(actual, expected, "Expected different value for top occupations in India.")
AssertionError: None != 'Prof-specialty' : Expected different value for top occupations in India.

----------------------------------------------------------------------
Ran 10 tests in 0.004s

FAILED (failures=2, errors=8)

And this appears to be the same problem we solved here: https://forum.freecodecamp.org/t/data-analysis-with-python-projects-demographic-data-analyzer/647445/11

Cannot replicate your “No module named pandas” error. Am I missing something?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.