Ask coding questions

← Back to all posts
How to add pandas in repl.it Classroom unit test
glrudolph

I'm creating an Assignment in repl.it classroom. I want it to be autograded, and in my unit code I want to use pandas. I add "import pandas" as expected in the import section of the unit test case code, but when I run a unit test on my model code (the model code does not use pandas, only the test code does), the system says no module named pandas.

What do I have to do to make this work?

Voters
PalidaM
sarvesh059
barcordland
rverhey
varun246
astynabilah
glrudolph
Comments
hotnewtop
varun246

tried to import import panda Repl.it, but was getting the below error
ModuleNotFoundError: No module named 'Panda
HELP..!!!!!

vedprad1

Is there an actual module called pandas? If there is no such package, that might be the problem.

glrudolph

@vedprad1 yes, there is.

vedprad1

@glrudolph : Could you post the code and the test case here? Thanks!

glrudolph

@vedprad1

import pandas