Skip to content

Instantly share code, notes, and snippets.

View mprajwala's full-sized avatar

Prajwala mprajwala

  • Addo Consulting Inc
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)
@mprajwala
mprajwala / index.html
Last active August 29, 2015 13:57
Align bubbles on a circle circumference
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
circle.parent, circle.child {
stroke: #000;
fill: transparent;
}