Skip to content
← Back to Community
How to add pandas in repl.it Classroom unit test
Profile icon
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
Profile icon
greenleaves
Profile icon
PalidaM
Profile icon
sarvesh059
Profile icon
barcordland
Profile icon
rverhey
Profile icon
varun246
Profile icon
astynabilah
Profile icon
glrudolph
Comments
hotnewtop
Profile icon
varun246

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

Profile icon
vedprad1

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

Profile icon
glrudolph

@vedprad1 yes, there is.

Profile icon
vedprad1

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

Profile icon
glrudolph

@vedprad1

import pandas