Question: I need some Python code which can read in a CSV file (as a table of tranasactions) and store it in a MongoDB database. The

I need some Python code which can read in a CSV file (as a table of tranasactions) and store it in a MongoDB database. The data looks like this:

Category1 Category2 Category3 etc

value value value

value value value

etc

Is anyone familiar with this process? I am new to using databases. Should be pretty easy? Thanks!

REVISED: I need a code that addresses a PASSWORD! Somone answered this for me, but it would not let me access because it was rejected by the machine. I think this is because it needs to address the PASSWORD in the python code.

Thanks!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!