Skip to content

Instantly share code, notes, and snippets.

View jonahadkins's full-sized avatar
🌎
hi!

Jonah Adkins jonahadkins

🌎
hi!
View GitHub Profile
@jonahadkins
jonahadkins / .block
Last active November 16, 2016 03:54 — forked from mbostock/.block
Waterman Butterfly
license: gpl-3.0
#converts DMS lat/long format columns like '89444400','89444400' to decimal degrees
#Author: Alex Kappel
import pandas as pd
#assigns file location
input_path = '~/Documents/temp/nbi_2014.csv'
#imports csv
df = pd.read_csv(input_path, low_memory=False, dtype=float, sep=',', encoding='ISO-8859-1')