This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
local img img_out img_short size_in_B size_out_B size_in size_out img_in_short img_out_short pct_diff | |
# Output coloring: Leep this compatability workaround or manually load the plugin using your plugin manager | |
[[ ! -e "/tmp/colors.plugin.zsh" ]] && curl -s "https://raw.githubusercontent.com/zpm-zsh/colors/master/colors.plugin.zsh" -o /tmp/colors.plugin.zsh | |
source /tmp/colors.plugin.zsh | |
# source ~/.zi/plugins/zpm-zsh---colors/colors.plugin/zsh | |
for IMG in ${argv[@]}; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import numpy as np | |
import pandas as pd | |
import plotly.express as px | |
from sklearn import neighbors | |
DINERS_CSV = './maps/all_diners.csv' | |
PLUTO_GEOJSON = './maps/nycpluto_manhattan.geojson' | |
PLUTO_CSV = './maps/pluto_small.csv' |