Skip to content

Instantly share code, notes, and snippets.

View AbhishekAmin's full-sized avatar
🎯
Focusing

Abhishek Amin AbhishekAmin

🎯
Focusing
View GitHub Profile
@mprajwala
mprajwala / import_csv_to_mongo
Last active July 23, 2023 20:07
Store CSV data into mongodb using python pandas
#!/usr/bin/env python
import sys
import pandas as pd
import pymongo
import json
def import_content(filepath):
mng_client = pymongo.MongoClient('localhost', 27017)